Browse Source

Increase timeout

Bob Mottram 7 years ago
parent
commit
634a8edb61
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-app-pleroma

+ 1
- 1
src/freedombone-app-pleroma View File

@@ -209,7 +209,7 @@ function pleroma_create_database {
209 209
     run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;"
210 210
     run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;"
211 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 214
     read_config_param "PLEROMA_SECRET_KEY"
215 215
     if [ ${#PLEROMA_SECRET_KEY} -lt 64 ]; then