Skip to content

Commit 41282bb

Browse files
committed
Add artificial delay in DTMD
1 parent 42c3a34 commit 41282bb

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

contrib/multimaster/dtmd/src/server.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,6 @@ static bool stream_flush(stream_t stream) {
171171
/* nothing to do */
172172
return true;
173173
}
174-
{
175-
struct timespec ts;
176-
ts.tv_sec = 0;
177-
ts.tv_nsec = 10000; /* 10usec */
178-
nanosleep(&ts, NULL);
179-
nanosleep(&ts, NULL);
180-
}
181174
char *cursor = stream->output.data;
182175
while (tosend > 0) {
183176
/* repeat sending until we send everything */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy