Few github high cpu load fixes (#6865)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-10-10 21:13:04 +07:00
committed by GitHub
parent dd8a9a0d85
commit 65d45d7e82
4 changed files with 24 additions and 14 deletions
-3
View File
@@ -395,9 +395,6 @@ export class GithubWorker implements IntegrationManager {
periodicSyncPromise: Promise<void> | undefined
async performPeriodicSync (): Promise<void> {
try {
for (const inst of this.integrations.values()) {
await this.repositoryManager.reloadRepositories(inst)
}
this.triggerUpdate()
} catch (err: any) {
Analytics.handleError(err)