fix(configs): increase read timeout to adapt to slow servers

This commit is contained in:
hexxa 2022-01-19 16:16:19 +08:00 committed by Hexxa
parent ac5b7b2685
commit af87abff92
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ server:
debug: false debug: false
host: "0.0.0.0" host: "0.0.0.0"
port: 8686 port: 8686
readTimeout: 3000 readTimeout: 8000
writerTimeout: 86400000 # 1 day writerTimeout: 86400000 # 1 day
maxHeaderBytes: 512 maxHeaderBytes: 512
publicPath: "/quickshare/public" publicPath: "/quickshare/public"

View file

@ -8,7 +8,7 @@ server:
debug: true debug: true
host: "0.0.0.0" host: "0.0.0.0"
port: 8686 port: 8686
readTimeout: 2000 readTimeout: 8000
writerTimeout: 86400000 # 1 day writerTimeout: 86400000 # 1 day
maxHeaderBytes: 512 maxHeaderBytes: 512
publicPath: "public" publicPath: "public"