feat(events): allow setting a timeout for event bus polling

Signed-off-by: Phil Kuang <pkuang@factset.com>
This commit is contained in:
Phil Kuang
2024-10-23 21:30:07 -04:00
parent b2070f3eee
commit 1577511333
9 changed files with 162 additions and 6 deletions
+6
View File
@@ -16,6 +16,12 @@
export interface Config {
events?: {
/**
* Timeout in milliseconds for how long to wait before closing subscription events
* requests to ensure they don't stall or that events get stuck. Defaults to 55 seconds.
*/
notifyTimeoutMs?: number;
http?: {
/**
* Topics for which a route has to be registered