Tweak mem-throttle option

This commit is contained in:
2022-02-19 14:05:50 -05:00
parent 3d4331b27d
commit f075b542fe
4 changed files with 15 additions and 13 deletions

View File

@@ -154,7 +154,7 @@ static void *tpool_worker(void *arg) {
int stuck_notified = 0;
int throttle_ms = 0;
while (1) {
while (TRUE) {
pthread_mutex_lock(&pool->work_mutex);
if (pool->stop) {
break;