Replies: 1 comment 1 reply
-
Oh yea, I think I remember reading about the heartbeat when doing the initial release. My thinking is that if folks knew they had jobs that ran close to, or over, 5 minutes (300s) they should create a specific queue/function with distinct timeouts. As you pointed out, the max would be Lambda's 15 minutes (900s). What do you think if we did these changes?
Seems to me this would get us where we need without having to make heartbeat calls. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Thoughts on using a hearbeat to extend the visibility_timeout?
I'm not 100% sure, but I believe there might be 2 issues for longer running jobs:
VisibilityTimeout: 301
it will get retried, potentially indefinitely.visibility_timeout
isn't restored on next run, so a retried job must complete faster thanLambdakiq::Backoff
.A heartbeat would solve these two issues up until the 900 second limit.
I think Shoryuken implements this... it did?, but it swapped it out in favor of a more complex system that I don't fully understand.
Beta Was this translation helpful? Give feedback.
All reactions