summaryrefslogtreecommitdiff
path: root/kombu/transport/SQS.py
diff options
context:
space:
mode:
authorJames Saryerwinnie <js@jamesls.com>2013-03-19 15:39:38 -0700
committerAsk Solem <ask@celeryproject.org>2013-10-30 13:59:04 +0000
commit9aea7532d81ef1dd8ee891a2168d44596c2f7e14 (patch)
tree05f5ae8b64d981cc954f4b80b2618fed58cd9868 /kombu/transport/SQS.py
parent5c52c6f2c0457e2c3a522593db6bab7160bf2a62 (diff)
downloadkombu-9aea7532d81ef1dd8ee891a2168d44596c2f7e14.tar.gz
Allow 0 for wait_time_seconds in transport config
Diffstat (limited to 'kombu/transport/SQS.py')
-rw-r--r--kombu/transport/SQS.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kombu/transport/SQS.py b/kombu/transport/SQS.py
index 3c10e6fe..4068064c 100644
--- a/kombu/transport/SQS.py
+++ b/kombu/transport/SQS.py
@@ -369,8 +369,8 @@ class Channel(virtual.Channel):
@cached_property
def wait_time_seconds(self):
- return (self.transport_options.get('wait_time_seconds') or
- self.default_wait_time_seconds)
+ return self.transport_options.get('wait_time_seconds',
+ self.default_wait_time_seconds)
class Transport(virtual.Transport):