Skip to content

Commit

Permalink
Merge pull request airbnb#38 from airbnb/strcrzy-fix-pre-parser-error
Browse files Browse the repository at this point in the history
[pre_parsers] correct error for s3 objects > 128mb
  • Loading branch information
strcrzy authored Feb 17, 2017
2 parents 6555c55 + 22fe1c7 commit 41a4734
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream_alert/pre_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def _download_s3_object(cls, client, bucket, key, size):
size_kb = size / 1024
size_mb = size_kb / 1024
if size_mb > 128:
raise S3ObjectSizeError('S3 object to download is above 500MB')
raise S3ObjectSizeError('S3 object to download is above 128MB')

logger.debug('/tmp directory contents:%s ', os.listdir('/tmp'))
logger.debug(os.system('df -h /tmp | tail -1'))
Expand Down

0 comments on commit 41a4734

Please sign in to comment.