Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mxqd: Sleep, when external helper failed to set up tmpdir
Throttle main loop in case this is a systematic error.
  • Loading branch information
donald committed May 5, 2022
1 parent 84a66e4 commit f12d171
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mxqd.c
Expand Up @@ -1323,6 +1323,7 @@ static unsigned long start_job(struct mxq_group_list *glist)
if (status == -1) {
mx_log_err("create job tmpdir: %m");
mxq_unload_job_from_server(server->mysql, job->job_id);
sleep(30);
return 0;
}
}
Expand Down

0 comments on commit f12d171

Please sign in to comment.