add Request::job_second_id

This commit is contained in:
2022-08-20 00:31:10 +02:00
parent 3609d94c09
commit 5dd34c802e
4 changed files with 15 additions and 4 deletions

View File

@@ -231,6 +231,7 @@ void Request::Clear()
use_html_filter = false;
job_id = JobTask::JOB_ID_DEFAULT;
job_second_id = JobTask::JOB_ID_DEFAULT;
job.clear();
accept_gzip = false;
@@ -749,13 +750,16 @@ void Request::http_status_error_description(EzcEnv & env)
}
void Request::create_job(long job_id)
void Request::create_job(long job_id, long job_secondary_id)
{
this->job_id = job_id;
this->job_second_id = job_secondary_id;
run_state = RunState::assigned_to_job;
}
/*
* will be removed in the future
*/