mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
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:
parent
9356d0734f
commit
ac500b059a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user