Ensure SQS property WaitTimeSeconds is an integer
This commit is contained in:
parent
cda553abfb
commit
bd2ff89bf1
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class Queue(BaseModel):
|
||||||
self.region = region
|
self.region = region
|
||||||
|
|
||||||
# wait_time_seconds will be set to immediate return messages
|
# 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 = []
|
self._messages = []
|
||||||
|
|
||||||
now = unix_time()
|
now = unix_time()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue