Skip to content

Commit af81bbc

Browse files
committed
Fix config
1 parent 50bd2f6 commit af81bbc

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
lines changed

common-internal-bom/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dependencies {
1212
api(platform("org.assertj:assertj-bom:3.26.3"))
1313
api(platform("org.testcontainers:testcontainers-bom:1.20.2"))
1414
api(platform("org.junit:junit-bom:5.11.2"))
15-
api(platform("io.github.mfvanek:pg-index-health-bom:0.13.0"))
15+
api(platform("io.github.mfvanek:pg-index-health-bom:0.13.1"))
1616

1717
constraints {
1818
api("org.liquibase:liquibase-core:4.29.2")

spring-boot-2-demo-app/src/main/resources/application.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ spring:
6363
enable-logging: true
6464
log-level: INFO
6565
includes: QUERY
66-
template:
67-
query-timeout: 1 # 1 second
66+
jdbc:
67+
template:
68+
query-timeout: 1s
6869

6970
management:
7071
server:
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
spring:
2-
jdbc:
3-
template:
4-
query-timeout: 1 # 1 second

spring-boot-3-demo-app/src/main/resources/application.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ spring:
4444
sasl:
4545
mechanism: PLAIN
4646
jaas.config: org.apache.kafka.common.security.plain.PlainLoginModule required username="${demo.kafka.opentelemetry.username}" password="${demo.kafka.opentelemetry.password}";
47+
jdbc:
48+
template:
49+
query-timeout: 1s
4750

4851
management:
4952
server:
@@ -118,8 +121,6 @@ jdbc:
118121
enable-logging: true
119122
log-level: INFO
120123
includes: QUERY
121-
template:
122-
query-timeout: 1 # 1 second
123124

124125
---
125126

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +0,0 @@
1-
spring:
2-
jdbc:
3-
template:
4-
query-timeout: 1 # 1 second

0 commit comments

Comments
 (0)