Merge pull request #1916 from jamesandres/patch-1

Go easier on the CPU when moto sqs is idle
This commit is contained in:
Steve Pulec 2018-12-28 20:02:53 -05:00 committed by GitHub
commit fd734fec49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -534,7 +534,7 @@ class SQSBackend(BaseBackend):
break break
import time import time
time.sleep(0.001) time.sleep(0.01)
continue continue
previous_result_count = len(result) previous_result_count = len(result)