diff options
author | Martin Hedenfal <martinh@cvs.openbsd.org> | 2010-07-10 14:27:16 +0000 |
---|---|---|
committer | Martin Hedenfal <martinh@cvs.openbsd.org> | 2010-07-10 14:27:16 +0000 |
commit | ff6e6d33c9a903865b0f2b0582985118fb384717 (patch) | |
tree | 9e017d5718f78b6e82eb30042465897495f7fd60 /usr.sbin/ldapd/ldapd.h | |
parent | 33bd0b103f6c5e841dc3f43290a8923ceaca79f5 (diff) |
Retry requests when the btree is busy. Without this, clients will just hang
waiting for a response if the btree was being reopened when the request was
received.
Diffstat (limited to 'usr.sbin/ldapd/ldapd.h')
-rw-r--r-- | usr.sbin/ldapd/ldapd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ldapd/ldapd.h b/usr.sbin/ldapd/ldapd.h index 2aae21bea18..9cc40911d33 100644 --- a/usr.sbin/ldapd/ldapd.h +++ b/usr.sbin/ldapd/ldapd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ldapd.h,v 1.16 2010/07/01 20:09:34 martinh Exp $ */ +/* $OpenBSD: ldapd.h,v 1.17 2010/07/10 14:27:15 martinh Exp $ */ /* * Copyright (c) 2009, 2010 Martin Hedenfalk <martin@bzero.se> @@ -395,7 +395,8 @@ int namespace_commit(struct namespace *ns); void namespace_abort(struct namespace *ns); int namespace_queue_request(struct namespace *ns, struct request *req); -void namespace_queue_schedule(struct namespace *ns); +void namespace_queue_schedule(struct namespace *ns, + unsigned int usec); void namespace_cancel_conn(struct conn *conn); int namespace_ber2db(struct namespace *ns, |