Update code to fit original code style

This commit is contained in:
Franke Tang 2023-12-11 19:16:44 -06:00
parent 7d31bf5e78
commit 6948c6f6a4
1 changed files with 3 additions and 1 deletions

View File

@ -172,7 +172,9 @@ bool ACTIVE_TASK_SET::poll() {
(atp->current_cpu_time - atp->stuck_check_cpu_time) < 10) {
// if fraction done does not change and cpu time is <10, message the user
msg_printf(atp->result->project, MSG_USER_ALERT,
"Task has not made progress in last hour, consider aborting %s", atp->result->name);
"[task] has not made progress in last hour, consider aborting task %s",
atp->result->name
);
}
atp->stuck_check_elapsed_time = atp->elapsed_time;
atp->stuck_check_fraction_done = atp->fraction_done;