Fixes for multi-region SQS.
This commit is contained in:
parent
1f8253a1a1
commit
aa7233a2db
3 changed files with 24 additions and 6 deletions
|
|
@ -16,6 +16,8 @@ MAXIMUM_VISIBILTY_TIMEOUT = 43200
|
|||
|
||||
class QueuesResponse(BaseResponse):
|
||||
|
||||
region_regex = r'://(.+?)\.queue\.amazonaws\.com'
|
||||
|
||||
@property
|
||||
def sqs_backend(self):
|
||||
return sqs_backends[self.region]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue