mirror of https://github.com/buster-so/buster.git
idle timeout and status messags
This commit is contained in:
parent
81d5c2d2df
commit
2113e40d0e
|
@ -21,7 +21,7 @@ export const POLLING_CONFIG = {
|
|||
MAX_DURATION_MS: 30 * 60 * 1000, // 30 minutes max
|
||||
BACKOFF_MULTIPLIER: 1.2, // Gradually increase interval
|
||||
MAX_INTERVAL_MS: 15000, // Max 15 seconds between checks
|
||||
STATUS_UPDATE_INTERVAL_MS: 30000, // Send status update every 30 seconds
|
||||
STATUS_UPDATE_INTERVAL_MS: 5000, // Send status update every 5 seconds
|
||||
} as const;
|
||||
|
||||
// SSE configuration
|
||||
|
|
|
@ -67,5 +67,6 @@ export default {
|
|||
port,
|
||||
hostname: '0.0.0.0', // Bind to all interfaces for Docker
|
||||
fetch: app.fetch,
|
||||
idleTimeout: 120, // 120 seconds idle timeout (resets on each SSE message)
|
||||
};
|
||||
export type AppType = typeof routes;
|
||||
|
|
Loading…
Reference in New Issue