From 1e08629013b6ef4c9fa737c89fae8f134b01d982 Mon Sep 17 00:00:00 2001 From: Philipp Moritz Date: Sun, 25 Sep 2016 16:51:24 -0700 Subject: [PATCH] fix submit_task for task queue (#21) --- state/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/redis.c b/state/redis.c index 9c4b81f03..d10b06b75 100644 --- a/state/redis.c +++ b/state/redis.c @@ -165,7 +165,7 @@ void task_queue_submit_task(db_conn *db, task_iid task_iid, task_spec *task) { UT_string *command; utstring_new(command); sha1_to_hex(&task_iid.id[0], &hex[0]); - utstring_printf(command, "HMSET queue:%s", &hex[0]); + utstring_printf(command, "HMSET queue:%s ", &hex[0]); print_task(task, command); redisAsyncCommand(db->context, NULL, NULL, utstring_body(command)); if (db->context->err) {