Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Added retry mechanism for isCapped check #179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dushyantbangal
Copy link

Please note: When the database is taken down at

handleCursorClosed -> We're now ready. Poll
checkCappedAndPoll
checkCappedAndPoll -> Cannot stat isCapped. Retry
checkCappedAndPoll

and restarted after a minute or so, nothing happens.

This also happens my in your

handleCursorClosed -> Wait for the database to be connected

I think it keeps waiting for the mongodb to reply, but doesn't get any timeout error from mongodb driver.

@coveralls
Copy link

coveralls commented Aug 18, 2017

Coverage Status

Coverage decreased (-0.5%) to 92.397% when pulling 59e59d5 on dushyantbangal:master into bc72263 on mcollina:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants