mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 04:02:46 +01:00
String: set default re subprocess timeout to 0.1, since that should be quite enough.
This commit is contained in:
parent
57884bba57
commit
47fdfe2e9a
@ -52,7 +52,7 @@ conf.registerGlobalValue(String.levenshtein, 'max',
|
|||||||
command."""))
|
command."""))
|
||||||
conf.registerGroup(String, 're')
|
conf.registerGroup(String, 're')
|
||||||
conf.registerGlobalValue(String.re, 'timeout',
|
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
|
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
|
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
|
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