@proteos/sdk 0.90.0 → 0.92.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,6 +68,17 @@ export const DEFAULT_OPTIONS = {
68
68
  headers: {},
69
69
  } as const
70
70
 
71
+ /**
72
+ * Request timeout for invoking an action or connector method. Function-service
73
+ * lets one invocation run for 60s and connector-service waits 70s for it, so
74
+ * the caller waits longer than both: the invocation's result, or its own
75
+ * timeout error, reaches the caller instead of a client-side abort.
76
+ */
77
+ export const INVOKE_TIMEOUT_MS = 75_000
78
+
79
+ /** Request timeout for a batch action invocation (5 min server budget). */
80
+ export const BATCH_INVOKE_TIMEOUT_MS = 315_000
81
+
71
82
  /**
72
83
  * Resolves client options by applying defaults.
73
84
  */