mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-29 04:57:48 +01:00
Server: parallel op sending try lock
This commit is contained in:
@@ -122,7 +122,11 @@ public class InvalidationQueueService {
|
||||
continue;
|
||||
}
|
||||
|
||||
try (var lock = _locker.lock(e)) {
|
||||
try (var lock = _locker.tryLock(e)) {
|
||||
if (lock == null) {
|
||||
pushInvalidationToOne(e);
|
||||
continue;
|
||||
}
|
||||
opPusher.doPush(e);
|
||||
success++;
|
||||
} catch (Exception ex) {
|
||||
|
||||
Reference in New Issue
Block a user