v0.9.3 db and web fixes for deployment

This commit is contained in:
lixen committed 2026-02-28 01:37:40 -05:00
1 parent e689ca83a2
commit 84bd5d40c8
8 files changed
+72 -41

No files matched your search

+3 -2
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")
}
}
}