-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution is unreliable when using schedules #220
Comments
I am using Bun as a runtime in case that changes things |
Hmm, it’s been a while since I looked at thus codebase. The only thing thag immediately comes to mind is that maybe your worker function is taking too long to run |
It can't be this because I log before running anything and nothing is being logged. I will try a debugger, thank you 👍 |
I've done some digging and it seems that the issue is that the request.lua file is saying 'wait' for x amount of seconds but then once those seconds are up it doesn't trigger the job it just skips over it to the next 'wait' item. Any idea why this might be? |
I have done some more light digging (I have been busy this weekend) and creating an activity logs a "requested" message every time correctly but never an "acknowledged" message or any of the continuing messages. The worker is never being triggered for some reason. |
Hey there,
I am building a system using Owl that is inspired how Quirrel uses Owl and Owl's scheduled executions on the backend but I am running into an issue where sometimes only some of my cron jobs are executed, or none are executed at all. Sometimes the cron jobs that were missed are executed late by several schedules and sometimes not. Overall it is very odd and I am at a loss as to what could be causing it. Here is a simple version of my cron system code, which is heavily inspired by Quirrel's:
Any clues as to why this might be? As far as I can tell this is no different from how Quirrel does it. Thank you in advance.
The text was updated successfully, but these errors were encountered: