diff --git a/komga/src/main/kotlin/org/gotson/komga/application/events/AsynchronousSpringEventsConfig.kt b/komga/src/main/kotlin/org/gotson/komga/application/events/AsynchronousSpringEventsConfig.kt index e9ee37f7a..43c3be0ca 100644 --- a/komga/src/main/kotlin/org/gotson/komga/application/events/AsynchronousSpringEventsConfig.kt +++ b/komga/src/main/kotlin/org/gotson/komga/application/events/AsynchronousSpringEventsConfig.kt @@ -2,10 +2,12 @@ package org.gotson.komga.application.events import org.springframework.context.annotation.Bean import org.springframework.context.annotation.Configuration +import org.springframework.context.annotation.Profile import org.springframework.context.event.ApplicationEventMulticaster import org.springframework.context.event.SimpleApplicationEventMulticaster import org.springframework.core.task.AsyncTaskExecutor +@Profile("!test") @Configuration class AsynchronousSpringEventsConfig( private val applicationTaskExecutor: AsyncTaskExecutor,