Skip to content

Commit 6a51f34

Browse files
committed
refactor: better logging for sqlite pools
1 parent f743aae commit 6a51f34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

komga/src/main/kotlin/org/gotson/komga/infrastructure/datasource/DataSourcesConfiguration.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ class DataSourcesConfiguration(
1717
@Bean("sqliteDataSource")
1818
@Primary
1919
fun sqliteDataSource(): DataSource =
20-
buildDataSource("SqliteUdfPool", SqliteUdfDataSource::class.java, komgaProperties.database)
20+
buildDataSource("SqliteMainPool", SqliteUdfDataSource::class.java, komgaProperties.database)
2121

2222
@Bean("tasksDataSource")
2323
fun tasksDataSource(): DataSource =
24-
buildDataSource("SqliteTaskPool", SQLiteDataSource::class.java, komgaProperties.tasksDb)
24+
buildDataSource("SqliteTasksPool", SQLiteDataSource::class.java, komgaProperties.tasksDb)
2525
.apply {
2626
// force pool size to 1 for tasks datasource
2727
this.maximumPoolSize = 1

0 commit comments

Comments
 (0)