Closed accraze closed 7 years ago
I'll give this a shot
go for it @enriquegh, let me know if you need any help!
Hi Guys, I added the 'silent' keyword , which is set to False as default . While waiting for new jobs, if it is set to True it will not print 'waiting'. Am I missing something here ?? Pull request : https://github.com/discogs/pymongo-job-queue/pull/9
Looks good @shanmbic thanks again!
Closed by #9
When you use the job queue, it prints
waiting!
every 5 seconds if there are no jobs in the queue. https://github.com/discogs/pymongo-job-queue/blob/master/pymjq/jobqueue.py#L95It would be awesome to have a
silent
kwarg on JobQueue initialization so we don't see thewaiting!
message clogging up the terminal in development.Maybe something like: