EgtExecutor :

- in hiredis aggiunto sleep nel thread degli eventi per non saturare la CPU.
This commit is contained in:
Riccardo Elitropi
2025-09-26 14:52:46 +02:00
parent 592056897b
commit cc3aab12ec
+1
View File
@@ -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 ;