-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
poll-interval=-1
does not disable polling as intended
#133
Labels
bug
Something isn't working
Comments
I did some investigation, added a little bit of additional logging and could not reproduce this. # What polling looks like
bensheldon /Users/bensheldon/Repositories/bensheldon/good_job/spec/test_app (ᛋ main) $ GOOD_JOB_POLL_INTERVAL=1 bundle exec good_job start
[GoodJob] Notifier subscribed with LISTEN
[GoodJob] [86371] GoodJob started scheduler with queues=* max_threads=10 poll_interval=1.
[GoodJob] Ran GoodJob poller
[GoodJob] Ran GoodJob poller
[GoodJob] Ran GoodJob poller
^C[GoodJob] Notifier unsubscribed with UNLISTEN
[GoodJob] [86371] GoodJob shutting down scheduler...
[GoodJob] [86371] GoodJob scheduler is shut down.
# Disabling polling
bensheldon /Users/bensheldon/Repositories/bensheldon/good_job/spec/test_app (ᛋ main) $ GOOD_JOB_POLL_INTERVAL=-1 bundle exec good_job start
[GoodJob] Notifier subscribed with LISTEN
[GoodJob] [86394] GoodJob started scheduler with queues=* max_threads=10 poll_interval=-1.
^C[GoodJob] Notifier unsubscribed with UNLISTEN
[GoodJob] [86394] GoodJob shutting down scheduler...
[GoodJob] [86394] GoodJob scheduler is shut down.
# Disabling polling with quotes
bensheldon /Users/bensheldon/Repositories/bensheldon/good_job/spec/test_app (ᛋ main) $ GOOD_JOB_POLL_INTERVAL="-1" bundle exec good_job start
[GoodJob] Notifier subscribed with LISTEN
[GoodJob] [86457] GoodJob started scheduler with queues=* max_threads=10 poll_interval=-1.
^C[GoodJob] Notifier unsubscribed with UNLISTEN
[GoodJob] [86457] GoodJob shutting down scheduler...
[GoodJob] [86457] GoodJob scheduler is shut down. |
I checked and I was on I just updated to Apologies, I assumed I was on a recent version. |
@minimul fhew! Glad you were able to update and have this be working as expected |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue reported by @minimul in #127 (comment).
The text was updated successfully, but these errors were encountered: