Skip to content

Commit

Permalink
decouple context
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Dec 26, 2023
1 parent 60f7d0c commit 5ea27e2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ public ProcessDomain(Digest group, ControlledIdentifierMember member, ProcessDom
final var dhtUrl = String.format("jdbc:h2:mem:%s-%s;DB_CLOSE_DELAY=-1", member.getId(), UUID.randomUUID());
JdbcConnectionPool connectionPool = JdbcConnectionPool.create(dhtUrl, "", "");
connectionPool.setMaxConnections(10);
dht = new KerlDHT(parameters.dhtOpsFrequency, base, member, connectionPool, params.digestAlgorithm(),
params.communications(), parameters.dhtOperationsTimeout, parameters.dhtFpr,
stereotomyMetrics);
dht = new KerlDHT(parameters.dhtOpsFrequency, params.context(), member, connectionPool,
params.digestAlgorithm(), params.communications(), parameters.dhtOperationsTimeout,
parameters.dhtFpr, stereotomyMetrics);
this.foundation = new View(base, getMember(), endpoint,
dht.getAni().eventValidation(parameters.dhtEventValidTO), params.communications(),
ff.build(), DigestAlgorithm.DEFAULT, null);
Expand Down

0 comments on commit 5ea27e2

Please sign in to comment.