File: timeout.patch

package info (click to toggle)
knitpy 0.1.1~git20180430-4.3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 912 kB
  • sloc: python: 1,576; makefile: 54
file content (13 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: knitpy-0.1.1~git20170216/knitpy/knitpy.py
===================================================================
--- knitpy-0.1.1~git20170216.orig/knitpy/knitpy.py
+++ knitpy-0.1.1~git20170216/knitpy/knitpy.py
@@ -77,7 +77,7 @@ class Knitpy(LoggingConfigurable):
     kernel_debug = Bool(False, config=True,
         help="""Whether to output kernel messages to the (debug) log""")
 
-    timeout = Integer(10, config=True, help="timeout for individual code executions")
+    timeout = Integer(500, config=True, help="timeout for individual code executions")
 
     # Things for the parser...
     chunk_begin = CRegExpMultiline(r'^\s*```+\s*{[.]?(?P<engine>[a-z]+)\s*(?P<args>.*)}\s*$',