瀏覽代碼

Add notes about performance and lock disabing

Alois Mahdal 6 年之前
父節點
當前提交
63e88ecd60
共有 1 個檔案被更改,包括 8 行新增2 行删除
  1. 8
    2
      src/imapdomo.skel

+ 8
- 2
src/imapdomo.skel 查看文件

@@ -16,13 +16,19 @@ usage() {
16 16
             "-c DIR      change to DIR before doing anything"                 \
17 17
             "-l          list handlers and exit"                              \
18 18
             "-d          turn on debugging mode"                              \
19
-            "-N          turn off locking"                                    \
19
+            "-N          turn off locking; make sure that handlers cannot"    \
20
+            "            interfere with each other or that another locking"   \
21
+            "            mechanism is in place.  Also see NOTE below."        \
20 22
        --                                                                     \
21 23
        "imapdomo will try to read init.lua and handlers/ACTION.lua from its"  \
22 24
        "configuration directory."                                             \
23 25
        ""                                                                     \
24 26
        "See imapfilter_config(5)) for guide and API reference.  Few functions"\
25
-       "are also available in .imapdomo/common.lua"
27
+       "are also available in .imapdomo/common.lua"                           \
28
+       ""                                                                     \
29
+       "NOTE: Be aware that it's your responsibility to ensure that filters"  \
30
+       "don't cause performance problems. (Trust me, it's not so hard to"     \
31
+       "\"earn\" yourself a nice server ban--I learned that the hard way)."
26 32
 }
27 33
 
28 34
 bug() {