Say a timeout is not a failure, and where the controller keeps the answer (hq issue 265)

This commit is contained in:
jochen
2026-10-06 01:14:59 +02:00
parent 9730bd89c3
commit fce3dcb98d
3 changed files with 33 additions and 3 deletions
+3 -1
View File
@@ -28,7 +28,9 @@ import (
"github.com/novox/mesh-tools/node-tools/internal/wire"
)
// RequestTimeout is how long a call waits for its answer — what modules already expect.
// RequestTimeout is how long a call waits for its answer — what modules already expect. The
// controller answers its verbs well inside it (its AnswerWithin, ten seconds), with a call id while a
// verb still runs, so a caller is never left guessing past this (novox/hq issue 265).
const RequestTimeout = 30 * time.Second
const assignmentsStream = "ASSIGNMENTS"