[idd] common: centralize nonzero sequences

This commit is contained in:
Geoffrey McRae
2026-08-13 21:44:07 +10:00
parent cd6bcc3a41
commit 5d12ee4bce
11 changed files with 97 additions and 62 deletions

View File

@@ -21,6 +21,7 @@
#include "transport/CTransportManager.h"
#include "CDebug.h"
#include "Seq.h"
#include <Windows.h>
#include <new>
@@ -737,9 +738,7 @@ void CTransportManager::RetryEntry(Entry& entry, uint64_t now,
entry.inputAbsent = false;
entry.frameAbsent = false;
entry.serviceRetryAt = 0;
++entry.epoch;
if (!entry.epoch)
++entry.epoch;
Seq::Inc(entry.epoch);
}
if (OpenEntry(entry) != OpenResult::SUCCESS)