Author: peter
Date: Sat Apr  4 19:31:29 2015
New Revision: 281080
URL: https://svnweb.freebsd.org/changeset/base/281080

Log:
  Raise cpu failsafe limits that Baptiste ran into.

Modified:
  svnadmin/tools/svnssh/svnssh.c

Modified: svnadmin/tools/svnssh/svnssh.c
==============================================================================
--- svnadmin/tools/svnssh/svnssh.c      Sat Apr  4 19:10:22 2015        
(r281079)
+++ svnadmin/tools/svnssh/svnssh.c      Sat Apr  4 19:31:29 2015        
(r281080)
@@ -202,8 +202,8 @@ main(int argc, char *argv[])
                msg("root not allowed to commit");
                exit(1);
        }
-       rl.rlim_cur = 540;      /* 9 minutes (soft) */
-       rl.rlim_max = 600;      /* 10 minutes (hard) */
+       rl.rlim_cur = 60 * 60;  /* 60 minutes (soft) */
+       rl.rlim_max = 70 * 60;  /* 70 minutes (hard) */
        setrlimit(RLIMIT_CPU, &rl);
        if (karma == 0)
                syslog(LOG_INFO, "svn server: %s, karma %d", username, karma);
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to