Merge pull request #2952 from khneal/sqs_update_MaximumMessageSize
update SQS MaximumMessageSize from 64K to 256K
This commit is contained in:
commit
3167f4aeb8
@ -230,7 +230,7 @@ class Queue(BaseModel):
|
|||||||
"FifoQueue": "false",
|
"FifoQueue": "false",
|
||||||
"KmsDataKeyReusePeriodSeconds": 300, # five minutes
|
"KmsDataKeyReusePeriodSeconds": 300, # five minutes
|
||||||
"KmsMasterKeyId": None,
|
"KmsMasterKeyId": None,
|
||||||
"MaximumMessageSize": int(64 << 10),
|
"MaximumMessageSize": int(64 << 12),
|
||||||
"MessageRetentionPeriod": 86400 * 4, # four days
|
"MessageRetentionPeriod": 86400 * 4, # four days
|
||||||
"Policy": None,
|
"Policy": None,
|
||||||
"ReceiveMessageWaitTimeSeconds": 0,
|
"ReceiveMessageWaitTimeSeconds": 0,
|
||||||
|
@ -384,7 +384,7 @@ def test_get_queue_attributes():
|
|||||||
response["Attributes"]["CreatedTimestamp"].should.be.a(six.string_types)
|
response["Attributes"]["CreatedTimestamp"].should.be.a(six.string_types)
|
||||||
response["Attributes"]["DelaySeconds"].should.equal("0")
|
response["Attributes"]["DelaySeconds"].should.equal("0")
|
||||||
response["Attributes"]["LastModifiedTimestamp"].should.be.a(six.string_types)
|
response["Attributes"]["LastModifiedTimestamp"].should.be.a(six.string_types)
|
||||||
response["Attributes"]["MaximumMessageSize"].should.equal("65536")
|
response["Attributes"]["MaximumMessageSize"].should.equal("262144")
|
||||||
response["Attributes"]["MessageRetentionPeriod"].should.equal("345600")
|
response["Attributes"]["MessageRetentionPeriod"].should.equal("345600")
|
||||||
response["Attributes"]["QueueArn"].should.equal(
|
response["Attributes"]["QueueArn"].should.equal(
|
||||||
"arn:aws:sqs:us-east-1:{}:test-queue".format(ACCOUNT_ID)
|
"arn:aws:sqs:us-east-1:{}:test-queue".format(ACCOUNT_ID)
|
||||||
@ -406,7 +406,7 @@ def test_get_queue_attributes():
|
|||||||
response["Attributes"].should.equal(
|
response["Attributes"].should.equal(
|
||||||
{
|
{
|
||||||
"ApproximateNumberOfMessages": "0",
|
"ApproximateNumberOfMessages": "0",
|
||||||
"MaximumMessageSize": "65536",
|
"MaximumMessageSize": "262144",
|
||||||
"QueueArn": "arn:aws:sqs:us-east-1:{}:test-queue".format(ACCOUNT_ID),
|
"QueueArn": "arn:aws:sqs:us-east-1:{}:test-queue".format(ACCOUNT_ID),
|
||||||
"VisibilityTimeout": "30",
|
"VisibilityTimeout": "30",
|
||||||
"RedrivePolicy": json.dumps(
|
"RedrivePolicy": json.dumps(
|
||||||
|
Loading…
Reference in New Issue
Block a user