mirror of
https://github.com/wassname/ray.git
synced 2026-08-06 13:31:10 +08:00
fix submit_task for task queue (#21)
This commit is contained in:
committed by
Robert Nishihara
parent
7907992609
commit
1e08629013
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user