Skip to content

Commit

Permalink
Fix #404
Browse files Browse the repository at this point in the history
  • Loading branch information
klirichek authored and adriannuta committed Aug 22, 2018
1 parent 46890e7 commit 00a2e45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/searchdha.cpp
Expand Up @@ -3664,6 +3664,9 @@ class LazyNetEvents_c : ISphNoncopyable, protected NetEventsFlavour_c
auto iEvents = events_wait ( m_iNextTimeoutUS );
auto iWaited = sphMicroTimer() - iStarted;

#if USE_WINDOWS
ProcessEnqueuedTasks (); // we have 'pushed' our iocp inside, if it is fired, the fire event is last
#endif

// tick # allows to trace different events over one and same task.
// Say, write action processing may initiate reading, or even
Expand Down

0 comments on commit 00a2e45

Please sign in to comment.