Added sleep/wake up.
[xavierbot.git] / ocamlbotwrapper.c.in
index 2909182..4835b3a 100644 (file)
@@ -1,5 +1,5 @@
 /* -*- C -*-
- * $Id: ocamlbotwrapper.c.in,v 1.3 2007/06/28 23:18:28 rjones Exp $
+ * $Id: ocamlbotwrapper.c.in,v 1.4 2007/06/29 21:43:21 rjones Exp $
  * SUID wrapper around ocaml program.
  */
 
@@ -51,7 +51,7 @@ main ()
   setrlimit (RLIMIT_CORE, &lim);
 #endif
 #ifdef RLIMIT_CPU
-  lim.rlim_cur = lim.rlim_max = 60; /* seconds */
+  lim.rlim_cur = lim.rlim_max = 10; /* seconds */
   setrlimit (RLIMIT_CPU, &lim);
 #endif
 #ifdef RLIMIT_MEMLOCK