refactor: streamline agent turn handling and background review process
This commit is contained in:
1 parent
4c186b62d4
commit
dd7825b481
14 files changed
+409
-327
No files matched your search
@@ -149,10 +149,7 @@ impl SessionLock {
|
||||
|
||||
// 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)
|
||||
}
|
||||
|
||||
#[cfg(not(unix))]
|
||||
|
||||
Reference in new issue
Block a user