diff options
author | Martin Willi <martin@revosec.ch> | 2011-05-05 10:51:11 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-05-16 15:24:15 +0200 |
commit | 14bf2f689d1bd3fa42a63470d9a7ae6ea73a7ca6 (patch) | |
tree | 763fd1f1a303e72ab441b8681c596674008c7cc3 /src/libcharon/plugins/ha/ha_ctl.c | |
parent | 1c8f58adb9172534c2862a4de435acb7c7884931 (diff) | |
download | strongswan-14bf2f689d1bd3fa42a63470d9a7ae6ea73a7ca6.tar.bz2 strongswan-14bf2f689d1bd3fa42a63470d9a7ae6ea73a7ca6.tar.xz |
Use CRITICAL job priority class for long running dispatcher jobs
Diffstat (limited to 'src/libcharon/plugins/ha/ha_ctl.c')
-rw-r--r-- | src/libcharon/plugins/ha/ha_ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/plugins/ha/ha_ctl.c b/src/libcharon/plugins/ha/ha_ctl.c index 15f7824f9..9c99807ed 100644 --- a/src/libcharon/plugins/ha/ha_ctl.c +++ b/src/libcharon/plugins/ha/ha_ctl.c @@ -141,8 +141,8 @@ ha_ctl_t *ha_ctl_create(ha_segments_t *segments, ha_cache_t *cache) strerror(errno)); } - this->job = callback_job_create((callback_job_cb_t)dispatch_fifo, - this, NULL, NULL); + this->job = callback_job_create_with_prio((callback_job_cb_t)dispatch_fifo, + this, NULL, NULL, JOB_PRIO_CRITICAL); lib->processor->queue_job(lib->processor, (job_t*)this->job); return &this->public; } |