Commit ba91ed0c authored by Maxym Borodenko's avatar Maxym Borodenko
Browse files

Merge branch 'abandoned-connection-problems' into 'main'

Abandoned connections

See merge request grin-global/grin-global-server!261
parents 8c8526ca e4b0fdde
......@@ -570,7 +570,8 @@ public class UsdaTaxonomyUpdater {
final File dataFolder = folder;
if (!dataFolder.exists()) {
LOG.warn("Making directory " + dataFolder.getAbsolutePath());
if (dataFolder.mkdirs()) {
dataFolder.mkdirs();
if (!dataFolder.exists()) {
throw new IOException("Failed to create data folder at " + dataFolder.getAbsolutePath());
}
}
......
......@@ -76,7 +76,7 @@ db.pool.maxIdle=15
db.pool.maxActive=50
db.pool.maxIdleSeconds=30
db.pool.maxWaitSeconds=10
db.pool.dropAbandoned=false
# Hazelcast instance name
hazelcast.instanceName=hz-gringlobal-instance1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment