mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-30 02:04:32 +01:00
an_unavailable_or_forced_pick_opens_the_chooser_and_settles_its_answer lists a real folder on the service's job threads. It polled for the chooser's `listed` field for at most 400 passes with a 5 ms sleep after each, so a listing slower than about 2 s failed the trial. The trial now gives the service a Wake that sends on a channel. Each pass takes in the listings that are in, and while the chooser is not listed the trial blocks until the next listing wakes the app. The 10 s receive timeout fails the trial when no wake comes.