mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-25 22:02:23 +02:00
UBERF-8120: Fix high CPU usage in github service (#6573)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -103,7 +103,7 @@ export class ProjectsSyncManager implements DocSyncManager {
|
||||
): Promise<DocumentUpdate<DocSyncInfo> | undefined> {
|
||||
const container = await this.provider.getContainer(info.space)
|
||||
if (container?.container === undefined) {
|
||||
return {}
|
||||
return { needSync: githubSyncVersion }
|
||||
}
|
||||
|
||||
const okit = await this.provider.getOctokit(container.project.createdBy as Ref<PersonAccount>)
|
||||
|
||||
Reference in New Issue
Block a user