Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedell-newrelic committed Dec 20, 2024
1 parent 719c996 commit 995f42a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ public void onRemoval(Object key, Token transaction, RemovalCause cause) {
// The implementation class is threadsafe.
private static final Cache<Object, Token> makeCache(RemovalListener<Object, Token> removalListener) {
// default set to 3 minutes (180), must match the behavior in TimedTokenSet: expireAfterAccess with same timeout
System.out.println("JGB making cache");
long timeoutSec = ServiceFactory.getConfigService().getDefaultAgentConfig().getTokenTimeoutInSec();
System.out.println("JGB cache timeout secs: "+timeoutSec);
long timeOutMilli = TimeConversion.convertToMilliWithLowerBound(timeoutSec, TimeUnit.SECONDS, 250L);
System.out.println("JGB cache timeout millis: "+timeOutMilli);

Expand Down

0 comments on commit 995f42a

Please sign in to comment.