Skip to content
Snippets Groups Projects
Commit 2d06c4fe authored by Howard Chu's avatar Howard Chu
Browse files

Freshly inserted tasks should be at head of queue and run immediately

parent 5639c071
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ ldap_pvt_runqueue_insert(
entry->arg = arg;
entry->tname = tname;
entry->tspec = tspec;
LDAP_STAILQ_INSERT_TAIL( &rq->task_list, entry, tnext );
LDAP_STAILQ_INSERT_HEAD( &rq->task_list, entry, tnext );
}
return entry;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment