Commit f9c893e1 authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Make WConfD's updateLocksWaiting safe that the implicit retry on connection failure
is handled gracefully.
Signed-off-by: default avatarKlaus Aehlig <>
Reviewed-by: default avatarPetr Pudlak <>
parent f91388c3
......@@ -276,7 +276,7 @@ updateLocksWaiting cid prio req =
liftM S.toList
. (>>= toErrorStr)
. modifyLockWaiting
$ LW.updateLocksWaiting prio cid (fromGanetiLockRequest req)
$ LW.safeUpdateLocksWaiting prio cid (fromGanetiLockRequest req)
-- | Tell whether a given owner has pending requests.
hasPendingRequest :: ClientId -> WConfdMonad Bool
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment