mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
fixed race condition
This commit is contained in:
parent
9a617297f2
commit
9750fb73b5
2 changed files with 40 additions and 21 deletions
|
@ -102,7 +102,7 @@ namespace data
|
|||
{
|
||||
try
|
||||
{
|
||||
I2NPMessage * msg = m_Queue.GetNextWithTimeout (10000); // 10 sec
|
||||
I2NPMessage * msg = m_Queue.GetNextWithTimeout (30000); // 30 sec
|
||||
if (msg)
|
||||
{
|
||||
while (msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue