tlog: update tlog

This commit is contained in:
Nick Peng
2020-08-22 08:13:55 +08:00
parent cb73eadf01
commit 80cb27c795

View File

@@ -1377,7 +1377,7 @@ static void *_tlog_work(void *arg)
log = _tlog_wait_log_locked(log);
if (log == NULL) {
pthread_mutex_unlock(&tlog.lock);
if (errno != ETIMEDOUT) {
if (errno != ETIMEDOUT && tlog.run) {
sleep(1);
}
continue;