Skip to content

Commit 58965a5

Browse files
committed
increased timeout
1 parent 7d5def4 commit 58965a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/postgresql.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
out.write("Creating the database...")
2424
out.flush()
25-
i = 60
25+
i = 120
2626
while True:
2727
try:
2828
conn = psycopg2.connect(
@@ -41,7 +41,7 @@
4141
i -= 1
4242
if i <= 0 :
4343
sys.exit(1)
44-
sleep(1)
44+
sleep(2)
4545
out.write(".")
4646
out.flush()
4747

0 commit comments

Comments
 (0)