Skip to content

Commit

Permalink
Merge pull request #405 from lordkev/lambda-fix
Browse files Browse the repository at this point in the history
Fix startup error in AWS Lambda
  • Loading branch information
Koed00 authored Jan 21, 2020
2 parents 7317839 + 0d9ebf9 commit 69c1061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_q/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69c1061

Please sign in to comment.