Skip to content

Commit 2d5dc53

Browse files
committed
better error handling in AggressiveUpdateService
1 parent 89cbbb0 commit 2d5dc53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ide-common/src/main/kotlin/org/digma/intellij/plugin/updates/AggressiveUpdateService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ class AggressiveUpdateService(val project: Project) : DisposableAdaptor {
133133
//but because this service starts on project startup,and actually IDE startup, it may run once before ApiErrorHandler had the chance
134134
// to mark connection lost. if it will run when backend is not running there will be too many error reports in posthog,
135135
// so it should ignore no connection errors.
136-
disposingPeriodicTask("AggressiveUpdate.periodic", delayBetweenUpdatesSeconds.inWholeMilliseconds, true) {
136+
disposingPeriodicTask("AggressiveUpdate.periodic", 10.seconds.inWholeMilliseconds, delayBetweenUpdatesSeconds.inWholeMilliseconds, true) {
137137
update()
138138
}
139139
}

0 commit comments

Comments
 (0)