svn commit: r288900 - svnadmin/tools/svnssh

Peter Wemm peter at FreeBSD.org
Mon Oct 5 21:18:42 UTC 2015


Author: peter
Date: Mon Oct  5 21:18:41 2015
New Revision: 288900
URL: https://svnweb.freebsd.org/changeset/base/288900

Log:
  Fix the 120 minute runtime limit.

Modified:
  svnadmin/tools/svnssh/svnssh.c

Modified: svnadmin/tools/svnssh/svnssh.c
==============================================================================
--- svnadmin/tools/svnssh/svnssh.c	Mon Oct  5 20:15:18 2015	(r288899)
+++ svnadmin/tools/svnssh/svnssh.c	Mon Oct  5 21:18:41 2015	(r288900)
@@ -205,7 +205,7 @@ main(int argc, char *argv[])
 	rl.rlim_cur = 60 * 60;	/* 60 minutes (soft) */
 	rl.rlim_max = 70 * 60;	/* 70 minutes (hard) */
 	setrlimit(RLIMIT_CPU, &rl);
-	alarm(120);		/* Limit total run time */
+	alarm(120 * 60);	/* Limit total run time to 120 minutes */
 	if (karma == 0)
 		syslog(LOG_INFO, "svn server: %s, karma %d", username, karma);
 	closelog();


More information about the svn-src-svnadmin mailing list