Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
poorbarcode committed Jul 29, 2024
1 parent 0c2ce13 commit e439b97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ protected void receivedSessionEvent(SessionEvent event) {
isConnected = event.isConnected();

// Clear cache after session expired.
if (event == SessionEvent.SessionReestablished) {
if (event == SessionEvent.SessionReestablished || event == SessionEvent.Reconnected) {
for (MetadataCacheImpl metadataCache : metadataCaches) {
metadataCache.invalidateAll();
}
Expand Down

0 comments on commit e439b97

Please sign in to comment.