Skip to content

Commit

Permalink
add debug log for schedule deployments for batches (#7302)
Browse files Browse the repository at this point in the history
Co-authored-by: Piotr Rudnicki <[email protected]>
  • Loading branch information
DeamonDev and Piotr Rudnicki authored Dec 9, 2024
1 parent abc91a4 commit e2a8279
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,9 @@ class PeriodicProcessService(
scheduleDeploymentsWithStatus = schedules.schedules.values.toList.flatMap(_.latestDeployments.map { deployment =>
(deployment, runtimeStatuses.getStatus(deployment.id))
})
_ = logger.debug(
s"Process '$processName' schedule deployments with status: ${scheduleDeploymentsWithStatus.map(_.toString)}"
)
needRescheduleDeployments <- Future
.sequence(scheduleDeploymentsWithStatus.map { case (deploymentData, statusOpt) =>
synchronizeDeploymentState(deploymentData, statusOpt).run.map { needReschedule =>
Expand Down

0 comments on commit e2a8279

Please sign in to comment.