We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c682ae3 commit 5f35118Copy full SHA for 5f35118
src/github/folderRepositoryManager.ts
@@ -988,6 +988,10 @@ export class FolderRepositoryManager extends Disposable {
988
Logger.debug(`Found ${localBranches.length} local branches to check`, this.id);
989
990
// Process branches in chunks to avoid overwhelming the system
991
+ // Using a smaller chunk size (10) compared to getLocalPullRequests (100) because:
992
+ // - This operation makes GitHub API calls for each branch that doesn't have metadata
993
+ // - getLocalPullRequests only reads local config, which is much faster
994
+ // - We want to be conservative on first activation to avoid rate limiting
995
const chunkSize = 10;
996
const associationResults: boolean[] = [];
997
0 commit comments