Function: extractMonitorConfig()
extractMonitorConfig(
monitor
:Monitor
,configTimeout?
:number
): {retryAttempts
:number
;timeout
:number
; }
Defined in: electron/services/monitoring/shared/monitorServiceHelpers.ts:45
Extract common monitor configuration values (timeout and retry attempts)
Parameters
monitor
Monitor configuration
configTimeout?
number
Default timeout from monitor config
Returns
{ retryAttempts
: number
; timeout
: number
; }
Object containing timeout and retry attempts
retryAttempts
retryAttempts:
number
timeout
timeout:
number