forked from Furumi/furumi-web
Publish podcasts after the first device sync on restart
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
abd100d6e7
commit
0e985b4267
8 files changed
+328
-27
No files matched your search
@@ -269,6 +269,14 @@ only while the overlay runs.
|
||||
operations and snapshot sections, refreshes of shared podcasts; 2 s
|
||||
debounce) and every five minutes. Connection and query errors skip a
|
||||
round. Only counts are logged.
|
||||
- Its first round in a federation run waits for the first device-sync round
|
||||
(`devices::sync_loop` reports it through a `watch` channel once every
|
||||
exchange of the first complete device listing has answered, failed or
|
||||
timed out; at most `FIRST_DEVICE_SYNC_WAIT`, 45 s). The overlay withholds
|
||||
the cards stored before the restart until the first `sync_shares`, which
|
||||
re-sends the cards still shared, so a share turned off on a TUI while the
|
||||
server was stopped is not announced again. A device that cannot be
|
||||
reached at start delivers its decision only when it syncs.
|
||||
- `ShareView` (in `GET /api/podcasts/feeds/{id}` and the share response):
|
||||
`discovery` is `running`, `unavailable` (the node runs, the overlay did
|
||||
not start; `Federation::podcast_discovery_unavailable`) or `off`;
|
||||
|
||||
Reference in new issue
Block a user