You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Need to figure out how to unit test
JobQueue.__iter__...see https://github.com/discogs/pymongo-job-queue/blob/master/pymjq/test.py#L50
Due to the cursor staying open and waiting for new documents to enter the queue, this method never returns unless given a
KeyboardInterrupt.A possible solution might be to use a timeout decorator: https://pypi.python.org/pypi/timeout-decorator