diff options
Diffstat (limited to 'client.c')
| -rw-r--r-- | client.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -335,7 +335,7 @@ void get_firehose_stream(const char* ip, int port, uint64_t offset, uint16_t cou if (ret != 0 || resp_len < 9 || response[ 0 ] != firehose_reply) { free(response); - sleep(100); + sleep(5); continue; } @@ -345,7 +345,7 @@ void get_firehose_stream(const char* ip, int port, uint64_t offset, uint16_t cou if (available_packets == 0) { free(response); - sleep(100); + sleep(5); continue; } @@ -361,7 +361,7 @@ void get_firehose_stream(const char* ip, int port, uint64_t offset, uint16_t cou printf("offset: %li\n", last_offset); last_offset += available_packets; free(response); - sleep(100); + // sleep(5); } } |
