update SQS MaximumMessageSize from 64K to 256K

This commit is contained in:
Kevin Neal 2020-05-02 16:40:52 -07:00
parent 067b7f3f5b
commit 52cbdd72e7
2 changed files with 3 additions and 3 deletions

View File

@ -230,7 +230,7 @@ class Queue(BaseModel):
"FifoQueue": "false",
"KmsDataKeyReusePeriodSeconds": 300, # five minutes
"KmsMasterKeyId": None,
"MaximumMessageSize": int(64 << 10),
"MaximumMessageSize": int(64 << 12),
"MessageRetentionPeriod": 86400 * 4, # four days
"Policy": None,
"ReceiveMessageWaitTimeSeconds": 0,

View File

@ -384,7 +384,7 @@ def test_get_queue_attributes():
response["Attributes"]["CreatedTimestamp"].should.be.a(six.string_types)
response["Attributes"]["DelaySeconds"].should.equal("0")
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"]["QueueArn"].should.equal(
"arn:aws:sqs:us-east-1:{}:test-queue".format(ACCOUNT_ID)
@ -406,7 +406,7 @@ def test_get_queue_attributes():
response["Attributes"].should.equal(
{
"ApproximateNumberOfMessages": "0",
"MaximumMessageSize": "65536",
"MaximumMessageSize": "262144",
"QueueArn": "arn:aws:sqs:us-east-1:{}:test-queue".format(ACCOUNT_ID),
"VisibilityTimeout": "30",
"RedrivePolicy": json.dumps(