File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ export class NotificationsManager extends Disposable implements vscode.TreeDataP
4747 private _fetchNotifications : boolean = false ;
4848 private _notifications = new Map < string , NotificationTreeItem > ( ) ;
4949
50- private _pollingDuration : number = 60 ; // Default polling duration
5150 private _pollingHandler : NodeJS . Timeout | null ;
5251 private _pollingLastModified : string ;
5352
@@ -202,7 +201,7 @@ export class NotificationsManager extends Disposable implements vscode.TreeDataP
202201 }
203202
204203 public async getNotifications ( ) : Promise < INotificationTreeItems | undefined > {
205- let pollInterval = this . _pollingDuration ;
204+ let pollInterval = this . _getRefreshInterval ( ) ;
206205 let lastModified = this . _pollingLastModified ;
207206 if ( this . _fetchNotifications ) {
208207 // Get raw notifications
You can’t perform that action at this time.
0 commit comments