mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 21:22:53 +00:00
"Could not be reached" now expires after a minute. It stops reads from going to the server at all, so nothing could ever discover that the server came back — and a timeout during an outage produces no connectivity change to react to either. The credential is untouched throughout; the next request settles it either way. A rejection is remembered against the credential that earned it. Signing in again on another device replaces that secret under the same key, and preserving the rejection regardless left the newly synced credential unusable with no way to prove otherwise. An account that syncs ahead of its credential — the ordinary case on a new device, since iCloud Keychain delivers on its own schedule and announces nothing — is re-checked for a couple of minutes instead of sitting at "sign in required" until something unrelated happens. It gives up rather than polling forever: on tvOS the wait is permanent by design. The feed cache no longer restores a purged account's videos from disk if the load was already in flight when the purge happened, and no longer leaves its loading flag set afterwards — which blocked the replacement refresh and left the new account on an empty feed.