mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Freshly inserted tasks should be at head of queue and run immediately
This commit is contained in:
parent
5639c07137
commit
2d06c4fe2d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue