git.samba.org
/
build-farm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea0d69
)
Set CPU limit.
author
Jelmer Vernooij
<jelmer@samba.org>
Mon, 22 Nov 2010 23:33:56 +0000
(
00:33
+0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Mon, 22 Nov 2010 23:33:56 +0000
(
00:33
+0100)
web/build.cgi
patch
|
blob
|
history
diff --git
a/web/build.cgi
b/web/build.cgi
index 8b919ff8c50642c6bd2d1380ed7ab385a091fd12..99c7e149cdf1c41f775d6c44462381d588834bde 100755
(executable)
--- a/
web/build.cgi
+++ b/
web/build.cgi
@@
-26,6
+26,7
@@
import resource
resource.setrlimit(resource.RLIMIT_RSS, (300000, 300000))
resource.setrlimit(resource.RLIMIT_DATA, (300000, 300000))
+resource.setrlimit(resource.RLIMIT_CPU, (60, 60))
handler = wsgiref.handlers.CGIHandler()
CGI_DEBUG = False