Use high priority for retransmit/dpd/keepalive jobs
authorMartin Willi <martin@revosec.ch>
Mon, 2 May 2011 11:56:49 +0000 (13:56 +0200)
committerMartin Willi <martin@revosec.ch>
Mon, 16 May 2011 13:24:13 +0000 (15:24 +0200)
src/libcharon/processing/jobs/retransmit_job.c
src/libcharon/processing/jobs/send_dpd_job.c
src/libcharon/processing/jobs/send_keepalive_job.c

index 5b43cf8..050f700 100644 (file)
@@ -73,7 +73,7 @@ METHOD(job_t, execute, void,
 METHOD(job_t, get_priority, job_priority_t,
        private_retransmit_job_t *this)
 {
-       return JOB_PRIO_MEDIUM;
+       return JOB_PRIO_HIGH;
 }
 
 /*
index e3fc3b7..ab00d01 100644 (file)
@@ -69,7 +69,7 @@ METHOD(job_t, execute, void,
 METHOD(job_t, get_priority, job_priority_t,
        private_send_dpd_job_t *this)
 {
-       return JOB_PRIO_MEDIUM;
+       return JOB_PRIO_HIGH;
 }
 
 /*
index 6a5070b..5e128d4 100644 (file)
@@ -63,7 +63,7 @@ METHOD(job_t, execute, void,
 METHOD(job_t, get_priority, job_priority_t,
        private_send_keepalive_job_t *this)
 {
-       return JOB_PRIO_MEDIUM;
+       return JOB_PRIO_HIGH;
 }
 
 /*