String: set default re subprocess timeout to 0.1, since that should be quite enough.

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
Daniel Folkinshteyn 2011-08-12 16:38:36 -04:00 committed by James McCoy
parent 9356d0734f
commit ac500b059a

View File

@ -52,7 +52,7 @@ conf.registerGlobalValue(String.levenshtein, 'max',
command."""))
conf.registerGroup(String, 're')
conf.registerGlobalValue(String.re, 'timeout',
registry.PositiveFloat(5, """Determines the maximum time, in seconds, that
registry.PositiveFloat(0.1, """Determines the maximum time, in seconds, that
a regular expression is given to execute before being terminated. Since
there is a possibility that user input for the re command can cause it to
eat up large amounts of ram or cpu time, it's a good idea to keep this