File tree Expand file tree Collapse file tree
src/main/kotlin/io/github/typesafegithub/workflows/jitbindingserver Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ plugins {
44 buildsrc.convention.`kotlin- jvm- server`
55 application
66 id(" io.ktor.plugin" ) version " 3.1.2"
7+ id(" io.gitlab.arturbosch.detekt" )
78}
89
910dependencies {
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ private val prometheusRegistry =
1818
1919 override fun prefix (): String = " github-actions-binding-server"
2020
21+ @Suppress(" MagicNumber" )
2122 override fun step () = Duration .ofSeconds(10 )
2223 },
2324 )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import io.micrometer.prometheusmetrics.PrometheusMeterRegistry
1212
1313fun Application.installPlugins (prometheusRegistry : PrometheusMeterRegistry ) {
1414 install(CallId ) {
15- generate(15 , " abcdefghijklmnopqrstuvwxyz0123456789" )
15+ generate(length = 15 , dictionary = " abcdefghijklmnopqrstuvwxyz0123456789" )
1616 replyToHeader(HttpHeaders .XRequestId )
1717 }
1818
You can’t perform that action at this time.
0 commit comments