mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-01-03 17:29:24 +00:00
Sync test: increased countdown length
This commit is contained in:
parent
328e9cade9
commit
c2704af523
1 changed files with 5 additions and 0 deletions
|
@ -862,7 +862,12 @@ void TCPServer::on_shutdown(uv_async_t* async)
|
|||
|
||||
uv_timer_init(&s->m_loop, &s->m_shutdownTimer);
|
||||
s->m_shutdownTimer.data = s;
|
||||
|
||||
#ifdef DEV_TEST_SYNC
|
||||
s->m_shutdownCountdown = 300;
|
||||
#else
|
||||
s->m_shutdownCountdown = 30;
|
||||
#endif
|
||||
|
||||
uv_timer_start(&s->m_shutdownTimer,
|
||||
[](uv_timer_t* h)
|
||||
|
|
Loading…
Reference in a new issue