mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 16:58:13 +08:00
Fix startup error in AWS Lambda
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ class Conf(object):
|
|||||||
# OSX doesn't implement qsize because of missing sem_getvalue()
|
# OSX doesn't implement qsize because of missing sem_getvalue()
|
||||||
try:
|
try:
|
||||||
QSIZE = Queue().qsize() == 0
|
QSIZE = Queue().qsize() == 0
|
||||||
except NotImplementedError:
|
except (NotImplementedError, OSError):
|
||||||
QSIZE = False
|
QSIZE = False
|
||||||
|
|
||||||
# Getting the signal names
|
# Getting the signal names
|
||||||
|
|||||||
Reference in New Issue
Block a user