Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Expire cert in one hour (#5)
Browse files Browse the repository at this point in the history
* Expire cert in one hour

* Test build
  • Loading branch information
viacheslav-fomin-main authored and zdmytriv committed Jan 25, 2019
1 parent b3afdcf commit 5ea3def
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public BouncyCastleSslEngineSource(Authority authority,
private static Cache<String, SSLContext> initDefaultCertificateCache() {
return CacheBuilder.newBuilder() //
.expireAfterAccess(5, TimeUnit.MINUTES) //
.expireAfterWrite(12, TimeUnit.HOURS)
.expireAfterWrite(1, TimeUnit.HOURS) //
.concurrencyLevel(16) //
.build();
}
Expand Down

0 comments on commit 5ea3def

Please sign in to comment.