v0.9.3 db and web fixes for deployment

This commit is contained in:
2026-02-28 01:37:40 -05:00
parent 16fc069a8f
commit f82091a9bd
8 changed files with 72 additions and 41 deletions

View File

@ -90,7 +90,7 @@ func (q *EngineQueue) worker(id int) {
// Send result if receiver still listening
select {
case task.Response <- result:
case <-time.After(100 * time.Millisecond):
case <-time.After(15 * time.Millisecond):
// Receiver abandoned, discard result
}
@ -205,4 +205,5 @@ func (q *EngineQueue) Shutdown(timeout time.Duration) error {
case <-time.After(timeout):
return fmt.Errorf("shutdown timeout exceeded")
}
}
}