mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Freshly inserted tasks should be at head of queue and run immediately
This commit is contained in:
parent
5639c07137
commit
2d06c4fe2d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user