fix(sync): proxy cache staleness follows the server's frame version only

Frames the server has neither proxy nor thumbnail for no longer re-queue the
proxy download at every comparison.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-02 23:01:41 +00:00
1 parent b31c6aa332
commit 3601e0a47f
1 file changed
+5 -2
+5 -2
View File
@@ -100,8 +100,11 @@ public sealed record SyncLink
public bool ServerHasProxies => (RemoteStatus & SequenceStatus.ProxiesBuilt) != 0;
/// <summary>The proxy cache misses frames the server has, or predates its last frame change.</summary>
public bool ProxiesStale => ProxiesCached < FrameCount || ProxiesFramesVersion != RemoteFramesVersion;
/// <summary>
/// The proxy cache was never completed or predates the server's last frame change (frames the server has no
/// proxy or thumbnail for stay missing until their frames change, so they are not fetched again and again).
/// </summary>
public bool ProxiesStale => ProxiesFramesVersion != RemoteFramesVersion;
}
/// <summary>One row of the sync table: the local sequence, the server sequence, or both, and where they stand.</summary>