From 14bf2f689d1bd3fa42a63470d9a7ae6ea73a7ca6 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Thu, 5 May 2011 10:51:11 +0200 Subject: Use CRITICAL job priority class for long running dispatcher jobs --- src/libcharon/plugins/load_tester/load_tester_plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libcharon/plugins/load_tester/load_tester_plugin.c') diff --git a/src/libcharon/plugins/load_tester/load_tester_plugin.c b/src/libcharon/plugins/load_tester/load_tester_plugin.c index 94115e307..dbdf96f82 100644 --- a/src/libcharon/plugins/load_tester/load_tester_plugin.c +++ b/src/libcharon/plugins/load_tester/load_tester_plugin.c @@ -235,9 +235,9 @@ plugin_t *load_tester_plugin_create() this->running = 0; for (i = 0; i < this->initiators; i++) { - lib->processor->queue_job(lib->processor, - (job_t*)callback_job_create((callback_job_cb_t)do_load_test, - this, NULL, NULL)); + lib->processor->queue_job(lib->processor, (job_t*) + callback_job_create_with_prio((callback_job_cb_t)do_load_test, + this, NULL, NULL, JOB_PRIO_CRITICAL)); } return &this->public.plugin; } -- cgit v1.2.3