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

Commitaca7998

Browse files
committed
Add artificial delay in DTMD
1 parentd2c797c commitaca7998

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

‎contrib/multimaster/libdtm.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,6 @@ static int dtm_recv_results(DTMConn dtm, int maxlen, xid_t *results)
169169
elog(ERROR,"The message body will not fit into the results array");
170170
return0;
171171
}
172-
{
173-
structtimespects;
174-
ts.tv_sec=0;
175-
ts.tv_nsec=100000;/* 100usec */
176-
while (nanosleep(&ts,&ts)<0);
177-
}
178172
while (recved<needed)
179173
{
180174
intnewbytes=read(dtm->sock, (char*)results+recved,needed-recved);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp