Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Outstanding long polling requests need to be aborted when the pool/assignment is disabled #1

Open
cdhowie opened this issue May 5, 2011 · 0 comments
Assignees

Comments

@cdhowie
Copy link
Owner

cdhowie commented May 5, 2011

If the pool or pool-worker assignment corresponding to an outstanding long polling request is disabled, the long polling request does not abort. This has three implications:

  • The worker will likely not make a new long polling request after the next getwork and the worker will therefore not receive long polling notifications from the new active pool. (If the new active pool does not support long polling requests, this is not an issue.)
  • When the outstanding long polling request completes, the worker will begin working on that work, which will be form a disabled pool. Submitted shares will still be routed to the pool, but the worker shouldn't be working for a disabled pool.
  • If the worker gets the URI for the next long polling request from the response for the first long polling request, the worker will continue to poll the wrong pool indefinitely.
@ghost ghost assigned cdhowie May 5, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant