Replies: 1 comment 2 replies
-
|
Yes, that |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! The wiki documents this pattern for graceful exits, available to Pro users using Super Fetch (edited for brevity):
However, looking at the API of
Sidekiq::JobI see there is aninterrupted?predicate. But it depends on an internal context object I am not familiar with. Safe navigation is used, so I guess the context can even benil(but I do not know when).In any case, could we simplify the code above removing the callback and checking the predicate in
perform?Beta Was this translation helpful? Give feedback.
All reactions