mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-01-30 11:19:08 +01:00
Fix SQLite connection string
This commit is contained in:
2
gradle/changelog/change_sqlite_connection_path.yaml
Normal file
2
gradle/changelog/change_sqlite_connection_path.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
- type: fixed
|
||||
description: Adjust connection string to match windows path resolver
|
||||
@@ -80,7 +80,7 @@ public class SQLiteQueryableStoreFactory implements QueryableStoreFactory {
|
||||
@ConfigValue(key = "queryableStore.leakDetectionThreshold", defaultValue = DEFAULT_LEAK_DETECTION_THRESHOLD_IN_SECONDS) int leakDetectionThresholdInSeconds
|
||||
) {
|
||||
this(
|
||||
"jdbc:sqlite:" + contextProvider.resolve(Path.of("scm.db?shared_cache=true&journal_mode=WAL")),
|
||||
"jdbc:sqlite:" + contextProvider.resolve(Path.of("scm.db")) + "?shared_cache=true&journal_mode=WAL",
|
||||
objectMapper,
|
||||
keyGenerator,
|
||||
pluginLoader.getExtensionProcessor().getQueryableTypes(),
|
||||
|
||||
Reference in New Issue
Block a user