Skip to content

Commit 2a5ac80

Browse files
committed
start logging last refresh sucessful time since startup
1 parent a3ad9db commit 2a5ac80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/com/uid2/shared/vertx/RotatingStoreVerticle.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ private void startRefresh(Promise<Void> promise) {
102102
promise.complete();
103103
storeRefreshTimer.record(java.time.Duration.ofMillis(startupRefreshTimeMs));
104104
LOGGER.info("Successful " + this.storeName + " loading. Starting Background Refresh");
105+
if (this.refreshCallback != null) {
106+
this.refreshCallback.run();
107+
}
105108
this.startBackgroundRefresh();
106109
} else {
107110
this.healthComponent.setHealthStatus(false, ar.cause().getMessage());

0 commit comments

Comments
 (0)