Skip to content
Snippets Groups Projects
Commit 3708790d authored by Bob Mottram's avatar Bob Mottram
Browse files

Add timeout command for not very powerful SBCs

parent 219ad6ac
No related branches found
No related tags found
No related merge requests found
...@@ -208,6 +208,7 @@ function pleroma_create_database { ...@@ -208,6 +208,7 @@ function pleroma_create_database {
run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;" run_system_query_postgresql "GRANT ALL ON ALL tables IN SCHEMA public TO pleroma;"
run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;" run_system_query_postgresql "GRANT ALL ON ALL sequences IN SCHEMA public TO pleroma;"
run_system_query_postgresql "CREATE EXTENSION citext;" run_system_query_postgresql "CREATE EXTENSION citext;"
run_system_query_postgresql "set statement_timeout to 20000;"
read_config_param "PLEROMA_SECRET_KEY" read_config_param "PLEROMA_SECRET_KEY"
if [ ${#PLEROMA_SECRET_KEY} -lt 50 ]; then if [ ${#PLEROMA_SECRET_KEY} -lt 50 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment