Skip to content

Commit e516e39

Browse files
[FSSDK-11003] polling datafile manager retry update
1 parent 17d27a3 commit e516e39

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/project_config/polling_datafile_manager.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,8 @@ export class PollingDatafileManager extends BaseService implements DatafileManag
8989
return;
9090
}
9191

92-
// If disposable, reset the retry count to 5
9392
if(this.disposable) {
94-
this.initRetryRemaining = 5;
93+
this.initRetryRemaining = Math.min(this.initRetryRemaining ?? 5, 5);
9594
}
9695

9796
super.start();

0 commit comments

Comments
 (0)