Add timeout command for not very powerful SBCs
This commit is contained in:
parent
219ad6ac45
commit
3708790d82
|
@ -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 sequences IN SCHEMA public TO pleroma;"
|
||||
run_system_query_postgresql "CREATE EXTENSION citext;"
|
||||
run_system_query_postgresql "set statement_timeout to 20000;"
|
||||
|
||||
read_config_param "PLEROMA_SECRET_KEY"
|
||||
if [ ${#PLEROMA_SECRET_KEY} -lt 50 ]; then
|
||||
|
|
Loading…
Reference in New Issue