You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/NotificationPollingService.kt
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -86,17 +86,14 @@ class NotificationPollingServiceImpl :
86
86
privatefunpollForNotifications(): Boolean {
87
87
var retryCount =0
88
88
var lastException:Exception?=null
89
-
// check ETag of current cached file
90
89
91
90
while (retryCount <MAX_RETRIES) {
92
91
try {
93
-
// Check if there are updates available
94
92
val newETag = getNotificationETag()
95
93
if (newETag == currentETag) {
96
94
LOG.debug { "No updates available for notifications" }
97
95
returnfalse
98
96
}
99
-
// Force a new download by resolving the resource
100
97
resourceResolver.get()
101
98
.resolve(notificationsResource)
102
99
.toCompletableFuture()
@@ -129,7 +126,6 @@ class NotificationPollingServiceImpl :
0 commit comments