mirror of https://github.com/sbt/sbt.git
The byteStreamStub lazy val applied withDeadlineAfter once, baking in an absolute deadline that was reused for the store's whole (session-long) lifetime. remoteTimeoutInSec after the first blob transfer, every later ByteStream read/write was rejected with DEADLINE_EXCEEDED, so the remote cache could neither upload nor download blobs >chunkSizeBytes for the rest of the sbt server's life. Derive a fresh stub with the deadline per RPC so each call gets its own relative timeout. Co-authored-by: Yannick Heiber <yhe@famly.co> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| main/scala/sbt | ||
| test/scala/sbt/internal | ||