Skip to content

Commit 2e14f3a

Browse files
committed
chore: dep updates
1 parent 982781a commit 2e14f3a

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

backend/jvm/src/main/kotlin/dev/suresh/routes/Scheduler.kt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ import io.github.kevincianfarini.cardiologist.*
55
import io.ktor.server.application.*
66
import io.ktor.util.logging.*
77
import io.opentelemetry.instrumentation.annotations.*
8-
import kotlinx.coroutines.launch
98
import kotlin.time.Duration.Companion.seconds
9+
import kotlinx.coroutines.*
1010
import kotlinx.datetime.*
1111

1212
fun Application.scheduledTasks() {
1313
log.info("Starting scheduled tasks...")
1414
virtualThreadScope.launch {
15-
Clock.System.fixedPeriodPulse(10.seconds).beat(RecurringJobMode.Skip) { scheduled, occurred ->
16-
context(log){
17-
task("Task at ${occurred.toLocalDateTime(TimeZone.currentSystemDefault())}")
18-
}
15+
Clock.System.fixedPeriodPulse(10.seconds).beat(PulseBackpressureStrategy.SkipNext) { scheduled
16+
->
17+
context(log) { task("Task at ${scheduled.toLocalDateTime(TimeZone.currentSystemDefault())}") }
1918
}
2019
}
2120
}

gradle/libs.versions.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ org-name = "suresh.dev"
2020
org-url = "https://suresh.dev"
2121

2222
# Dependency Versions
23-
bc-plugins = "2.2.0"
23+
bc-plugins = "2.3.0"
2424
kotlinx-kover = "0.9.1"
2525
kotlinx-bcv = "0.17.0"
2626
kotlin-dokka = "2.0.0"
@@ -39,7 +39,7 @@ kotlinx-benchmark = "0.4.14"
3939
kotlinx-fuzz = "0.2.2"
4040
kotlinx-metadata = "0.9.0"
4141
kotlinx-reflect-lite = "1.2.0-RC"
42-
kotlin-wrappers = "2025.6.2"
42+
kotlin-wrappers = "2025.6.3"
4343
kotlin-redacted = "1.14.0-alpha01"
4444
kotlin-serviceloader = "0.0.16"
4545
kotlinx-multik = "0.2.3"
@@ -67,8 +67,8 @@ spring-depmgmt = "1.1.7"
6767
ktor = "3.1.3"
6868
ktor-cohort = "2.7.2"
6969
fusionauth-http = "0.4.0-RC.4"
70-
otel = "1.50.0"
71-
otel-alpha = "1.50.0-alpha"
70+
otel = "1.51.0"
71+
otel-alpha = "1.51.0-alpha"
7272
otel-instr = "2.16.0"
7373
otel-instr-alpha = "2.16.0-alpha"
7474
otel-semconv = "1.32.0"
@@ -93,9 +93,9 @@ jsch = "2.27.0"
9393
pty4j = "0.13.7"
9494
oshi = "6.8.2"
9595
junit = "5.13.0"
96-
koin = "4.1.0-RC1"
96+
koin = "4.1.0"
9797
koin-annotations = "2.0.1-RC1"
98-
metro = "0.4.0-2.2.0-RC-alpha05"
98+
metro = "0.4.0-2.2.0-RC2-alpha06"
9999
kotest = "6.0.0.M4"
100100
mockk = "1.14.2"
101101
mokkery = "2.8.0"
@@ -187,7 +187,7 @@ langchain4j = "1.0.1"
187187
langchain4j-kotlin = "0.2.0"
188188
jlama = "0.8.4"
189189
mcp-kotlin = "0.5.1"
190-
koog = "0.2.0"
190+
koog = "0.2.1"
191191
mcp4k = "0.4.0"
192192
dflib = "2.0.0-M2"
193193
ldaptive = "2.4.1"
@@ -226,7 +226,7 @@ swagger-style = "https://unpkg.com/[email protected]/them
226226

227227
# Plugin versions
228228
benmanes = "0.52.0"
229-
caupain = "1.2.0"
229+
caupain = "1.2.1"
230230
foojay-resolver = "1.0.0"
231231
gradle-develocity = "4.0.2"
232232
nmcp = "0.1.5"

0 commit comments

Comments
 (0)