mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-30 11:49:42 +02:00
Few github high cpu load fixes (#6865)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user