diff options
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 |