Merge pull request #1916 from jamesandres/patch-1
Go easier on the CPU when moto sqs is idle
This commit is contained in:
commit
fd734fec49
@ -534,7 +534,7 @@ class SQSBackend(BaseBackend):
|
||||
break
|
||||
|
||||
import time
|
||||
time.sleep(0.001)
|
||||
time.sleep(0.01)
|
||||
continue
|
||||
|
||||
previous_result_count = len(result)
|
||||
|
Loading…
Reference in New Issue
Block a user