-
Notifications
You must be signed in to change notification settings - Fork 82
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
Error: Cannot find wait timer #44
Comments
We are seeing this too while trying to replicate the npm registry. Why is this a fatal error? if(! self.pending.wait_timer)
return self.die(new Error('Cannot find wait timer'))
clearTimeout(self.pending.wait_timer)
self.pending.wait_timer = null Since you are clearing the timeout directly after checking if it's there, shouldn't this be: if(! self.pending.wait_timer)
clearTimeout(self.pending.wait_timer)
self.pending.wait_timer = null Doesn't make a lot of sense to me to die if it's not there just before you are going to clear it anyway. |
@davglass im guessing the assumption is that there is something wrong if that timer has already been cleared or does not exist. Regardless this module will be refactored as a wrapper around my |
We still see this pretty often in our production followers. It doesn't happen often enough to throw the worker into a tailspin, and we use seq-file to restart right where we left off. But still, kinda annoying. |
ok so the root of this problem is actually due to a new request being created while the feed is paused because the @davglass removing that line does seem reasonable as a stop gap so I will do some testing and publish a new version. |
this is fixed in |
👍 |
Occasionally this happens:
??
The text was updated successfully, but these errors were encountered: