mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-28 08:08:13 +08:00
Merge pull request #405 from lordkev/lambda-fix
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()
|
||||
try:
|
||||
QSIZE = Queue().qsize() == 0
|
||||
except NotImplementedError:
|
||||
except (NotImplementedError, OSError):
|
||||
QSIZE = False
|
||||
|
||||
# Getting the signal names
|
||||
|
||||
Reference in New Issue
Block a user