-
Notifications
You must be signed in to change notification settings - Fork 68
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
CronJob duplicates on Vercel #1029
Comments
quirrel/src/api/scheduler/jobs-repo.ts Lines 301 to 356 in 2feba92
Not sure what's causing this. Could you try to write up some a minimal reproduction steps that I can use to reproduce this issue? That'd make it a lot easier for me to help you on this. |
Closing this, feel free to reopen. |
Hey @Skn0tt, sorry for late reply I cannot reopen, so im writing it here. Im currently using this setup:
Build command: As you can see, quirrel tried to update cron jobs And unfrotunately UI shows 2 jobs, which are actually executed 2 times, so if i rerun this, it will be 3 jobs, 4 jobs and etc... |
Could you elaborate on how you set that up? I'm not aware of any way of hosting the Quirrel app on Netlify, so it'd be very interesting to learn what you mean by this.
I have the suspicion that these two jobs, which are seemingly to the same URL, share the same path but have different hosts. The UI only shows the path, but if you hover over it, the tooltip should show the full URL. My suspicion is that one is |
@Skn0tt Regarding the |
@Skn0tt looks like that we managed to fix it! Thank you very much for support. |
Bug Report
Current Behavior
Currently I have one
CronJob
which works fine, but when i redeploy my "production" environment in Vercel, using documentation provided method I see duplicatedCronJob
in my ui.quirrel.dev webpage.Is this behaviour expected, or "old"
CronJob
instances should be cleaned up after new deployment?Input Code
Just regular
CronJob
Expected behavior/code
I expect that old
CronJob
instances should be deleted and only one is visible in ui.quirrel.dev webpage.Environment
Additional context/Screenshots
package.json
Thank you in advance!
The text was updated successfully, but these errors were encountered: