@impulselab/hepha 0.2.720 → 0.2.721
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.
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4801,10 +4801,17 @@ function isFollowStopStatus(status) {
|
|
|
4801
4801
|
|
|
4802
4802
|
// ../../packages/realtime/src/events/session/shared/session-status-constants.ts
|
|
4803
4803
|
var SESSION_SANDBOX_CAPACITY_WAIT_REASON = "No Ares machine has room for this sandbox. Waiting for capacity";
|
|
4804
|
+
var SESSION_ARES_OUTAGE_WAIT_REASON = "Ares is not answering. Retrying automatically";
|
|
4805
|
+
|
|
4806
|
+
// ../../packages/realtime/src/events/session/capacity/sandbox-wait-reasons-constants.ts
|
|
4807
|
+
var SANDBOX_WAIT_REASONS = [
|
|
4808
|
+
SESSION_SANDBOX_CAPACITY_WAIT_REASON,
|
|
4809
|
+
SESSION_ARES_OUTAGE_WAIT_REASON
|
|
4810
|
+
];
|
|
4804
4811
|
|
|
4805
4812
|
// ../../packages/realtime/src/events/session/capacity/is-sandbox-capacity-park.ts
|
|
4806
4813
|
function isSandboxCapacityPark(input) {
|
|
4807
|
-
return input.status === "waiting_human" &&
|
|
4814
|
+
return input.status === "waiting_human" && SANDBOX_WAIT_REASONS.some((reason) => reason === input.statusReason);
|
|
4808
4815
|
}
|
|
4809
4816
|
|
|
4810
4817
|
// src/lib/session/is-follow-stop-session.ts
|