Content-Length: 271091 | pFad | http://github.com/postgrespro/postgres_cluster/commit/006a3dfce149b9c4e4b13439ffaa0dead4d1ed39

0A Add a delay between launching DTMD and Postgres in daemons.go script. · postgrespro/postgres_cluster@006a3df · GitHub
Skip to content

Commit 006a3df

Browse files
committed
Add a delay between launching DTMD and Postgres in daemons.go script.
1 parent 1728185 commit 006a3df

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

contrib/pg_dtm/tests/daemons.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import (
1010
"os"
1111
"strconv"
1212
"strings"
13+
"time"
1314
)
1415

1516
func read_to_channel(r io.Reader, c chan string, wg *sync.WaitGroup) {
@@ -192,6 +193,8 @@ func main() {
192193
go dtmd(bin["dtmd"], dir, dtmservers, i, &wg)
193194
}
194195

196+
time.Sleep(3 * time.Second)
197+
195198
for i, dir := range datadirs {
196199
wg.Add(1)
197200
go postgres(bin["postgres"], dir, dtmservers, PgPort + i, i, &wg)

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/006a3dfce149b9c4e4b13439ffaa0dead4d1ed39

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy