mirror of
https://github.com/mudler/LocalAI.git
synced 2026-11-06 04:23:15 -05:00
An expiry ended a file handle while a put created the pipe and its cancel function, which the race detector reports. The expiry must not wait for a put that holds the handle lock, so guard the two fields with a small lock of their own. Assisted-by: Claude:claude-sonnet-5-5 go