|
I’m using broker.with_middlewares(
SmartRetryMiddleware(
default_retry_count=3,
default_delay=2,
use_jitter=True,
use_delay_exponent=True,
max_delay_exponent=10,
schedule_source=redis_source
)
)I noticed that when I don’t use a scheduler, retries happen immediately, one after another — effectively ignoring the However, when I do use scheduler, retries are only executed after the scheduler runs its
cycle — which happens once per minute by default redis_source = ListRedisScheduleSource(
url=redis_url
)Can you please explain how to solve this problem? |
Answered by
s3rius
Nov 24, 2025
Replies: 1 comment
|
It's because generally scheduler gathers tasks once every minute. You can increase how often schedules are being pulled from sources by specifying |
0 replies
Answer selected by
danfimov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's because generally scheduler gathers tasks once every minute. You can increase how often schedules are being pulled from sources by specifying
--update-intervalas an option oftaskiq schedulercommand.