Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit006a3df

Browse files
committed
Add a delay between launching DTMD and Postgres in daemons.go script.
1 parent1728185 commit006a3df

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
funcread_to_channel(r io.Reader,cchanstring,wg*sync.WaitGroup) {
@@ -192,6 +193,8 @@ func main() {
192193
godtmd(bin["dtmd"],dir,dtmservers,i,&wg)
193194
}
194195

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp