Merge pull request #861 from scawley-r7/master

Ensure SQS property WaitTimeSeconds is an integer
This commit is contained in:
Steve Pulec 2017-03-14 23:22:41 -04:00 committed by GitHub
commit ad743cb5e1

View File

@ -113,7 +113,7 @@ class Queue(BaseModel):
self.region = region
# wait_time_seconds will be set to immediate return messages
self.wait_time_seconds = wait_time_seconds or 0
self.wait_time_seconds = int(wait_time_seconds) if wait_time_seconds else 0
self._messages = []
now = unix_time()