Hi @marrie!
Sidekiq runs a number of background calls that will cause you to exceed the 10,000 commands limit for the free tier of Upstash Redis:
Apart from regular Redis calls directly related to running background jobs, Sidekiq has to make other calls to maintain its functionality.:
- Heartbeat thread makes lots of Redis calls every 5 seconds (or 10 seconds since Sidekiq v7.0.0)
- While checking for queues with jobs to process, Sidekiq makes 1 blocking call per worker every 2 seconds
You can change your Upstash plan with flyctl redis update <yourdb>
and select the pay-as-you-go plan to remove the limit.