@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
18 lines (17 loc) • 719 B
TypeScript
/**
* Proxy Quiet Detector
* Determines whether the proxy has been idle (no traffic) for a given
* threshold by efficiently reading only the tail of today's debug log file.
* Used by the auto-update system to find safe windows for restarts.
*/
import type { QuietStatus } from "../types/index.js";
/**
* Check whether proxy traffic has been quiet (no requests) for at least
* `quietThresholdMs` milliseconds.
*
* Reads only the tail of today's debug log file for efficiency.
*
* @param quietThresholdMs Silence duration (ms) to consider "quiet". Default: 120 000 (2 min).
* @returns QuietStatus with the idle analysis.
*/
export declare function checkTrafficQuiet(quietThresholdMs?: number): QuietStatus;