-
Notifications
You must be signed in to change notification settings - Fork 379
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
HTTP 500 while accessing the status API #827
Comments
This is the same bug as reported in #822. This isn't hard to fix, but there are a couple of ways to go about it:
IMHO, it is not this endpoint's responsibility to return the scheduled jobs. And especially considering feature requests like pagination and reported problems like slow response times, I don't think it is a good idea to keep the schedule summary in here. My vote goes to option no. 1. @Victorcoder What say you? |
+1 for "Remove the listing of scheduled job from /v1 altoghether" |
The reason to include scheduled jobs here is to have and endpoint that returns the snapshot of the jobs that are scheduled, helping to monitor what is really running/prepared to run, at all times. Clearly I introduced the bug, and you are right, it's not this endpoint responsibility to return the job list. I will find a better way to implement this. Reverting the PR. Thanks for all your suggestions! |
Fist server with
--bootstrap-expect 1
Everything works fine.
$ http http://dkron-server-1.backpack.test:8900/v1
:Second server with no
bootstrap
specified$ http http://dkron-server-2.backpack.test:8903/v1
:and
Environment
The text was updated successfully, but these errors were encountered: