[idd] transport: avoid redundant frame rebuilds

This commit is contained in:
Geoffrey McRae
2026-10-01 07:29:33 +10:00
parent d1bbcbcb45
commit 93c18419cb

View File

@@ -983,8 +983,6 @@ void CTransportManager::RetryEntry(Entry& entry, uint64_t now,
{ {
CSRWExclusiveLock entryLock(entry.lock); CSRWExclusiveLock entryLock(entry.lock);
const bool frameService =
(entry.config.services & TRANSPORT_SERVICE_FRAME) != 0;
entry.transport.reset(); entry.transport.reset();
entry.directMemory = DirectFrameBufferMemory {}; entry.directMemory = DirectFrameBufferMemory {};
entry.directMemoryValid = false; entry.directMemoryValid = false;
@@ -1000,8 +998,6 @@ void CTransportManager::RetryEntry(Entry& entry, uint64_t now,
entry.frameAbsent = false; entry.frameAbsent = false;
entry.serviceRetryAt = 0; entry.serviceRetryAt = 0;
Seq::Inc(entry.epoch); Seq::Inc(entry.epoch);
if (frameService)
BumpFrameRev();
} }
if (OpenEntry(entry) != OpenResult::SUCCESS) if (OpenEntry(entry) != OpenResult::SUCCESS)