Skip to content

Commit

Permalink
only wait 15 seconds for postgres to start
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Jan 2, 2017
1 parent d614dae commit e5e9f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liberapay/wireup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def database(env, tell_sentry):
pg_dir = os.environ.get('OPENSHIFT_PG_DATA_DIR')
if pg_dir:
# We know where the postgres data is, try to start the server ourselves
r = call(['pg_ctl', '-D', pg_dir, 'start', '-w', '-t', '120'])
r = call(['pg_ctl', '-D', pg_dir, 'start', '-w', '-t', '15'])
if r == 0:
return database(env, tell_sentry)
db = NoDB()
Expand Down

0 comments on commit e5e9f57

Please sign in to comment.