mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Raised 'too many exceptions raised in too little time' limit to 10 exceptions in .5 seconds.
This commit is contained in:
parent
088e984f8f
commit
60169accb2
@ -138,7 +138,7 @@ def recoverableException():
|
||||
if issubclass(e.__class__, exn):
|
||||
raise
|
||||
lastTimes.append(time.time())
|
||||
if lastTimes[-1] - lastTimes[0] < 0.20:
|
||||
if lastTimes[-1] - lastTimes[0] < 0.50:
|
||||
msg('Too many exceptions too quickly. Bailing out.', 'high')
|
||||
exit()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user