mirror of
https://github.com/narrrl/proton-drive-linux.git
synced 2026-12-03 20:41:50 +01:00
The second item of the scheduler's delivery order moves one cold metadata path behind admission. Listing a folder the mount has not listed yet now asks the daemon's admission first, as a `listing` step, so `pdfs diagnostics` counts cold listings with the mirror steps. The admission becomes `Classes`, a limit of its own per class: mirror steps keep 8, cold listings get 32, above what the mount lists at once today, so a lookup never waits behind a mirror upload and rarely waits at all. Callers that find the same folder unlisted at once used to ask Drive each, and all but the first threw the answer away. They now share one listing through a single flight: the first lists the folder, the others wait for it and take what it published. A follower whose leader failed lists the folder itself, so every caller still gets its own answer, and a leader that panics still lets its followers go. A shared folder's refresh stays out of the flight, since its generation check settles races of its own.