mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-15 13:37:56 +08:00
Fix startup error in AWS Lambda
This commit is contained in:
@@ -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