Skip to content

Commit

Permalink
tlog: update tlog
Browse files Browse the repository at this point in the history
  • Loading branch information
pymumu committed Aug 22, 2020
1 parent cb73ead commit 80cb27c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 80cb27c

Please sign in to comment.