svn commit: r281080 - svnadmin/tools/svnssh
Peter Wemm
peter at FreeBSD.org
Sat Apr 4 19:31:30 UTC 2015
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);
More information about the svn-src-svnadmin
mailing list