Sunday 21 October 2018

Best practices with production timers?

Hi there,I'm looking to schedule a task to run every 60 seconds or so to clear up cached data in Redis.I've been thinking using a simple setInterval, but that feels like a "code smell" that would be hard to debug, update, etc.Any recommendations, things to consider, etc?

Submitted October 21, 2018 at 02:05PM by natanavra

No comments:

Post a Comment