Skip to content

Commit

Permalink
updated dataset (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
denis256 authored Dec 21, 2023
1 parent b9cb8d2 commit 8586919
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ private File getDbFile(String dataset) {
private final Map<String, Connection> connectionMap = new ConcurrentHashMap<>();

private Connection fetchConnection(String dataset) {
return connectionMap.computeIfAbsent(Thread.currentThread().getName() + "-" + dataset, k -> {
return connectionMap.computeIfAbsent(dataset, k -> {
try {
return fetchDataSource(dataset).getConnection();
} catch (SQLException e) {
Expand Down

0 comments on commit 8586919

Please sign in to comment.