Use same postgres sleep as elsewhere
authorJared Reisinger <jaredreisinger@hotmail.com>
Wed, 21 Sep 2016 22:40:37 +0000 (15:40 -0700)
committerJared Reisinger <jaredreisinger@hotmail.com>
Wed, 21 Sep 2016 22:40:37 +0000 (15:40 -0700)
image/discourse_bench/Dockerfile

index de1bcb4680c0bf74c73af5b2598bdbbee3d61ffb..ce50410809402961b797638e48b916fdaad672a7 100644 (file)
@@ -24,7 +24,7 @@ RUN pg_dropcluster --stop 9.5 main &&\
 
 # create role "discourse"
 RUN /etc/init.d/postgresql start &&\
-    sleep 10 &&\
+    sleep 5 &&\
     sudo -u postgres createuser --superuser discourse
 
 ADD run_bench.sh /tmp/run_bench.sh