diff --git a/sqs/sqs.go b/sqs/sqs.go index 104e05dd3befcab2d474f68660d6c066ab0cf014..bdfd9446b98f9c1e285a1db6e3978cf79c4aa485 100644 --- a/sqs/sqs.go +++ b/sqs/sqs.go @@ -127,7 +127,7 @@ func SendSQSMessage(msgr Messenger, objectToSend interface{}, currentRequestID * // If bigger than 200 KB upload message to s3 and send s3 file name to sqs // The sqs receiver should check the header to see if the message is in the body or on s3 - if binary.Size(message) > 200000 { + if binary.Size(message) > 0 { headers[SQSMessageOnS3Key] = "true" id := uuid.New() filename := fmt.Sprintf("%v-%v", sqsType, id.String())