refactor: streamline agent turn handling and background review process
This commit is contained in:
@@ -102,9 +102,6 @@ impl SessionLockRepository for FileSystemSessionLockRepository {
|
||||
|
||||
// Phase 3: re-check /proc/<pid>/exe to detect PID reuse between
|
||||
// Phase 1 and Phase 2.
|
||||
match std::fs::read_link(&proc_exe) {
|
||||
Ok(recheck) if recheck == self_exe => true,
|
||||
_ => false,
|
||||
}
|
||||
matches!(std::fs::read_link(&proc_exe), Ok(recheck) if recheck == self_exe)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user