浏览代码

Increase timeout

Bob Mottram 7 年前
父节点
当前提交
634a8edb61
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-app-pleroma

+ 1
- 1
src/freedombone-app-pleroma 查看文件

209
     run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;"
209
     run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;"
210
     run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;"
210
     run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;"
211
     run_system_query_postgresql "CREATE EXTENSION citext;"
211
     run_system_query_postgresql "CREATE EXTENSION citext;"
212
-    run_system_query_postgresql "set statement_timeout to 20000;"
212
+    run_system_query_postgresql "set statement_timeout to 40000;"
213
 
213
 
214
     read_config_param "PLEROMA_SECRET_KEY"
214
     read_config_param "PLEROMA_SECRET_KEY"
215
     if [ ${#PLEROMA_SECRET_KEY} -lt 64 ]; then
215
     if [ ${#PLEROMA_SECRET_KEY} -lt 64 ]; then