diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-23 00:57:36 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-07-23 00:57:36 +0800 |
commit | 83431f2cd992c38eb2fbc3b5095c52034fd2ff3f (patch) | |
tree | 6ee954826c28f78a972cbd622ffa0ddb6586553c /sample | |
parent | ecb8b2d326822691b2633451732f8d7685353383 (diff) | |
download | pttbbs-83431f2cd992c38eb2fbc3b5095c52034fd2ff3f.tar pttbbs-83431f2cd992c38eb2fbc3b5095c52034fd2ff3f.tar.gz pttbbs-83431f2cd992c38eb2fbc3b5095c52034fd2ff3f.tar.bz2 pttbbs-83431f2cd992c38eb2fbc3b5095c52034fd2ff3f.tar.lz pttbbs-83431f2cd992c38eb2fbc3b5095c52034fd2ff3f.tar.xz pttbbs-83431f2cd992c38eb2fbc3b5095c52034fd2ff3f.tar.zst pttbbs-83431f2cd992c38eb2fbc3b5095c52034fd2ff3f.zip |
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
Diffstat (limited to 'sample')
-rw-r--r-- | sample/pttbbs.conf | 7 |
1 files changed, 7 insertions, 0 deletions
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 |