Raised 'too many exceptions raised in too little time' limit to 10 exceptions in .5 seconds.

This commit is contained in:
Jeremy Fincher 2003-04-09 14:46:45 +00:00
parent 088e984f8f
commit 60169accb2

View File

@ -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: