diff --git a/EXE_Redis.cpp b/EXE_Redis.cpp index 16db91e..72e3e0f 100644 --- a/EXE_Redis.cpp +++ b/EXE_Redis.cpp @@ -398,6 +398,7 @@ RedisEventLoop( redisAsyncContext* ctx, bool bIsPub) if ( FD_ISSET( sock, &wfds) && ctx != nullptr) redisAsyncHandleWrite( ctx) ; } + this_thread::sleep_for( chrono::milliseconds( 10)) ; } return ;