Skip to content

Commit 2dda95f

Browse files
vallbullovsds
authored andcommitted
feat: BI-6884 Add timestamp to cache inval notif locator tail (235a627a0)
1 parent 8362d09 commit 2dda95f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/dl_core/dl_core/reporting/notifications.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ class CacheInvalidationQueryFailedNotification(BaseNotification):
6666
_message = "Failed to get cache invalidation payload, cached data may be outdated"
6767
_level = NotificationLevel.warning
6868

69+
@property
70+
def locator(self) -> str:
71+
return f"{self.type.value}__{int(time.time())}"
72+
6973

7074
def get_notification_record(
7175
notification_type: NotificationType, **kwargs: Any

0 commit comments

Comments
 (0)