mirror of
https://github.com/Control-D-Inc/ctrld.git
synced 2026-10-12 01:58:46 +02:00
Port scope OS recovery and retain DNS-target diagnostics
This commit is contained in:
1 parent
c9c829a379
commit
6e66ea82b4
12 files changed
+1248
-20
No files matched your search
@@ -177,6 +177,12 @@ type prog struct {
|
||||
recoveryRunning atomic.Bool
|
||||
recoveryGen atomic.Uint64
|
||||
|
||||
// OS-only failures can refresh the resolver without owning global recovery.
|
||||
osRecoveryRefreshMu sync.Mutex
|
||||
osRecoveryRefreshAt time.Time
|
||||
osRecoverySkipLogAt time.Time
|
||||
osRecoverySkipUpstream string
|
||||
|
||||
// All deltas get an ID. Only accepted deltas replace recovery ownership.
|
||||
networkTransitionGen atomic.Uint64
|
||||
networkAcceptedGen atomic.Uint64
|
||||
|
||||
Reference in new issue
Block a user