mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 18:28:26 +00:00
fix: address review comments
- Use optional timeoutMs parameter (undefined = use config/default) - Extract DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS to shared constants.ts - Import constant in client.ts instead of hardcoding - Re-export constant from probe.ts for backwards compatibility
This commit is contained in:
committed by
Peter Steinberger
parent
78f8a29071
commit
f633a8cb22
2
src/imessage/constants.ts
Normal file
2
src/imessage/constants.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/** Default timeout for iMessage probe/RPC operations (10 seconds). */
|
||||
export const DEFAULT_IMESSAGE_PROBE_TIMEOUT_MS = 10_000;
|
||||
Reference in New Issue
Block a user