exercism / project-management

1 stars 3 forks source link

Detect if sidekiq has zero processors and give everything a kick #23

Closed iHiD closed 2 years ago

iHiD commented 2 years ago

@ErikSchierboom Have a think about this :)

This tells us if we have processors: https://github.com/mperham/sidekiq/wiki/API#processes

So if we check that every 10s, and it's 0 for 6 times in a row (1m) then we should trigger a redeploy?

Screenshot 2022-04-11 at 12 18 08 Screenshot 2022-04-11 at 12 18 15 Screenshot 2022-04-11 at 12 18 18
iHiD commented 2 years ago

A nicer idea might be to build this check on the sidekiq container.

ErikSchierboom commented 2 years ago

This has been implemented now.