Skip to content

Commit

Permalink
fix(queue): Update zombie checker agent spring config
Browse files Browse the repository at this point in the history
  • Loading branch information
robzienert committed Oct 29, 2020
1 parent a2a2645 commit 8f09f5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import org.springframework.stereotype.Component
@ConditionalOnExpression(
"\${queue.zombie-check.enabled:false}"
)
@ConditionalOnBean(MonitorableQueue::class)
@ConditionalOnBean(ZombieExecutionService::class)
class ZombieExecutionCheckingAgent(
private val zombieExecutionService: ZombieExecutionService,
private val registry: Registry,
Expand All @@ -56,7 +56,7 @@ class ZombieExecutionCheckingAgent(

override fun getPollingInterval() = pollingIntervalMs

override fun getNotificationType() = javaClass.getSimpleName()
override fun getNotificationType(): String = javaClass.simpleName

override fun tick() {
checkForZombies()
Expand Down

0 comments on commit 8f09f5c

Please sign in to comment.