3 ms·
Something I picked up from another developer is to use timedelta for these type of parameters. It avoids hoping that you get the right granularity for everyone.
by VBprogrammer 7y ago
Something I picked up from another developer is to use timedelta for these type of parameters. It avoids hoping that you get the right granularity for everyone.
retry_window_after_first_call=timedelta(minutes=3.5)
retry_window_after_first_call=timedelta(days=2)
retry_window_after_first_call=timedelta(minutes=50)
- leetrout 7y agoNice! Yes this is the better option. IMO, should just be retry_window=timedelta(...)