@mastra/deployer 1.76.0-alpha.6 → 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.
@@ -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) => {