@mastra/deployer 1.76.0-alpha.7 → 1.76.0-alpha.8
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/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/docs-deployment-mastra-server.md +2 -2
- package/dist/server/handlers/restart-active-runs.d.ts.map +1 -1
- package/dist/server/index.cjs +1 -1
- package/dist/server/index.cjs.map +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/index.js.map +1 -1
- package/package.json +6 -6
package/dist/server/index.js
CHANGED
|
@@ -4027,7 +4027,7 @@ async function healthHandler(c) {
|
|
|
4027
4027
|
async function restartAllActiveWorkflowRunsHandler(c) {
|
|
4028
4028
|
try {
|
|
4029
4029
|
const mastra = c.get("mastra");
|
|
4030
|
-
mastra.restartAllActiveWorkflowRuns().catch((error) => {
|
|
4030
|
+
if (mastra.recoveryConfig?.workflows !== "off") mastra.restartAllActiveWorkflowRuns().catch((error) => {
|
|
4031
4031
|
mastra.getLogger().error("Failed to restart active workflow runs during server startup", { error });
|
|
4032
4032
|
});
|
|
4033
4033
|
if (mastra.recoveryConfig?.durableAgents === "auto") mastra.recoverAllDurableAgents().catch((error) => {
|