mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
fixes #13
This commit is contained in:
committed by
Aiden McClelland
parent
99500ec68b
commit
2205eb34e6
@@ -185,6 +185,9 @@ impl Node {
|
|||||||
req: Request,
|
req: Request,
|
||||||
locks_on_lease: &mut Vec<oneshot::Receiver<LockInfo>>,
|
locks_on_lease: &mut Vec<oneshot::Receiver<LockInfo>>,
|
||||||
) -> Option<Request> {
|
) -> Option<Request> {
|
||||||
|
if req.completion.is_closed() {
|
||||||
|
return None;
|
||||||
|
}
|
||||||
match (
|
match (
|
||||||
req.lock_info.ty,
|
req.lock_info.ty,
|
||||||
req.lock_info.segments_handled == req.lock_info.ptr.len(),
|
req.lock_info.segments_handled == req.lock_info.ptr.len(),
|
||||||
|
|||||||
Reference in New Issue
Block a user