Skip to content

Commit aca7998

Browse files
committed
Add artificial delay in DTMD
1 parent d2c797c commit aca7998

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
return 0;
171171
}
172-
{
173-
struct timespec ts;
174-
ts.tv_sec = 0;
175-
ts.tv_nsec = 100000; /* 100usec */
176-
while (nanosleep(&ts, &ts) < 0);
177-
}
178172
while (recved < needed)
179173
{
180174
int newbytes = read(dtm->sock, (char*)results + recved, needed - recved);

0 commit comments

Comments
 (0)