diff --git a/api/src/main/resources/logback-spring.xml b/api/src/main/resources/logback-spring.xml index 7d7b718d..180f9cd4 100644 --- a/api/src/main/resources/logback-spring.xml +++ b/api/src/main/resources/logback-spring.xml @@ -53,7 +53,7 @@ - + diff --git a/batch/src/main/kotlin/com/oksusu/susu/batch/slack/scheduler/ResendFailedSentSlackMessageScheduler.kt b/batch/src/main/kotlin/com/oksusu/susu/batch/slack/scheduler/ResendFailedSentSlackMessageScheduler.kt index 9659db19..59e8b62e 100644 --- a/batch/src/main/kotlin/com/oksusu/susu/batch/slack/scheduler/ResendFailedSentSlackMessageScheduler.kt +++ b/batch/src/main/kotlin/com/oksusu/susu/batch/slack/scheduler/ResendFailedSentSlackMessageScheduler.kt @@ -20,10 +20,10 @@ class ResendFailedSentSlackMessageScheduler( ) { private val logger = KotlinLogging.logger { } - @Scheduled( - fixedRate = 1000 * 60, - initialDelayString = "\${oksusu.scheduled-tasks.resend-failed-sent-slack-message.initial-delay:100}" - ) +// @Scheduled( +// fixedRate = 1000 * 60, +// initialDelayString = "\${oksusu.scheduled-tasks.resend-failed-sent-slack-message.initial-delay:100}" +// ) fun resendFailedSentSlackMessageJob() { if (environment.isProd()) { CoroutineScope(Dispatchers.IO + coroutineExceptionHandler.handler).launch { diff --git a/client/src/main/kotlin/com/oksusu/susu/client/discord/SuspendableDiscordClient.kt b/client/src/main/kotlin/com/oksusu/susu/client/discord/SuspendableDiscordClient.kt index 8e189bce..1eac7e6b 100644 --- a/client/src/main/kotlin/com/oksusu/susu/client/discord/SuspendableDiscordClient.kt +++ b/client/src/main/kotlin/com/oksusu/susu/client/discord/SuspendableDiscordClient.kt @@ -44,7 +44,7 @@ class SuspendableDiscordClient( } }.onFailure { if (withRecover) { - recoverSendMessage(message, token) +// recoverSendMessage(message, token) } }.getOrThrow() } diff --git a/gradle.properties b/gradle.properties index 4492e190..aa5ff460 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version=1.1.17 +version=1.1.18 kotlin.code.style=official