mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
Nine clipboard tests passed only when the test worker answered within the app's own read limits (2 s for text and file lists, 10 s for a paste's bitmap): on a loaded machine a slow answer failed them. The read limits are now a `Waits` value that each `Loads` carries, set to `Waits::APP` (`LOAD_WAIT`, `IMAGE_WAIT`) where the app opens its clipboard. A read kept for a later paste takes the same limits, and the core protocol's paste and reads use them instead of the constants. Tests pass `Waits::UNTIL_ANSWERED`, so each wait ends when the answer comes, the owner is released or the worker stops. A wait past the clock's range has no limit. The values the app uses are unchanged. The tests' own 5 s and 600 s waits are also unbounded now. Every assertion is kept.