summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-14 01:52:18 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-14 01:52:18 +0800
commitd02b7d633c8163853edaff587d701a32bfb59455 (patch)
treeea4005e5cd394ac09d1ec2e97117e9262c3e217e
parent0de660756306b48a3e61d2012dc04c1ec2b2fa5d (diff)
downloadpttbbs-d02b7d633c8163853edaff587d701a32bfb59455.tar
pttbbs-d02b7d633c8163853edaff587d701a32bfb59455.tar.gz
pttbbs-d02b7d633c8163853edaff587d701a32bfb59455.tar.bz2
pttbbs-d02b7d633c8163853edaff587d701a32bfb59455.tar.lz
pttbbs-d02b7d633c8163853edaff587d701a32bfb59455.tar.xz
pttbbs-d02b7d633c8163853edaff587d701a32bfb59455.tar.zst
pttbbs-d02b7d633c8163853edaff587d701a32bfb59455.zip
* change sample CPULIMIT -> CPULIMIT_PER_DAY
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4601 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--sample/pttbbs.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf
index 6929524a..8e2b0522 100644
--- a/sample/pttbbs.conf
+++ b/sample/pttbbs.conf
@@ -136,8 +136,8 @@
/* 可動態透過 GLOBALVAR[9]調整使用者上限 */
#define DYMAX_ACTIVE
-/* 程式最多可以跑多久 (in min) 因為有的時候會出現跑不停的 process */
-#define CPULIMIT 1
+/* 程式每天最多可以跑多久 (in seconds) 因為有的時候會出現跑不停的 process */
+#define CPULIMIT_PER_DAY 30
/* 若定義, 若程式失敗, 會等待 86400 秒以讓 gdb來 attach */
#define DEBUGSLEEP