瀏覽代碼

Allow float for server->timeout setting

Unrud 5 年之前
父節點
當前提交
5333751e45
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      radicale/config.py

+ 1 - 1
radicale/config.py

@@ -118,7 +118,7 @@ DEFAULT_CONFIG_SCHEMA = OrderedDict([
         ("timeout", {
             "value": "30",
             "help": "socket timeout",
-            "type": positive_int}),
+            "type": positive_float}),
         ("ssl", {
             "value": "False",
             "help": "use SSL connection",