Skip to content

Commit

Permalink
fix: activate workload monitor (#14918)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Jan 3, 2025
1 parent bf1b80e commit 6b61cf1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import io.airbyte.workload.api.client.model.generated.WorkloadFailureRequest
import io.airbyte.workload.api.client.model.generated.WorkloadStatus
import io.github.oshai.kotlinlogging.KotlinLogging
import io.micronaut.context.annotation.Property
import io.micronaut.context.annotation.Requires
import io.micronaut.scheduling.annotation.Scheduled
import jakarta.inject.Singleton
import java.time.Duration
Expand All @@ -32,10 +31,6 @@ import kotlin.jvm.optionals.getOrElse
private val logger = KotlinLogging.logger { }

@Singleton
@Requires(
property = "airbyte.workload.monitor.enabled",
value = "true",
)
open class WorkloadMonitor(
private val workloadApiClient: WorkloadApiClient,
@Property(name = "airbyte.workload.monitor.non-sync-workload-timeout") private val nonSyncWorkloadTimeout: Duration,
Expand Down
1 change: 0 additions & 1 deletion airbyte-cron/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ airbyte:
restart-delay: ${WORKFLOW_FAILURE_RESTART_DELAY_SECONDS:600}
workload:
monitor:
enabled: ${WORKLOAD_MONITOR_ENABLED:false}
claim-check-rate: PT1M
heartbeat-check-rate: PT1M
not-started-check-rate: PT1M
Expand Down

0 comments on commit 6b61cf1

Please sign in to comment.