From 83431f2cd992c38eb2fbc3b5095c52034fd2ff3f Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 22 Jul 2005 16:57:36 +0000 Subject: sync with PTT1 local modified source: - debug with msgfwderr - enlarge thread search range - more verbose board info git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2942 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- sample/pttbbs.conf | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sample/pttbbs.conf') diff --git a/sample/pttbbs.conf b/sample/pttbbs.conf index 0d728b61..3ec5fe88 100644 --- a/sample/pttbbs.conf +++ b/sample/pttbbs.conf @@ -43,6 +43,9 @@ /* 最大開板個數, 每個會用掉 6420 bytes 的 shared-memory */ #define MAX_BOARD (8192) +/* 主題式閱讀搜尋範圍,文章多可試著加大,但小心對效能影響 */ +#define THREAD_SEARCH_RANGE (500) + /* 幫忙寄信的 server, 一般設成自己(即ip: 127.0.0.1)就可以 */ #define RELAY_SERVER_IP "127.0.0.1" @@ -79,6 +82,10 @@ /* 若定義, 若程式失敗, 會等待 86400 秒以讓 gdb來 attach */ #define DEBUGSLEEP +/* 若定義, 在轉寄位址輸入錯誤時會有讓使用者回報訊息的提示 */ +/* 這個選項存在的原因是因為有部份使用者信誓旦旦說他們沒打錯但看不出程式錯誤 */ +//#define DEBUG_FWDADDRERR + /* 若定義, 用一個奇怪的數字來檢查我的最愛和看板列表是否錯誤 */ #define MEM_CHECK 0x98761234 -- cgit v1.2.3