Skip to content

Commit e6f7d5e

Browse files
authored
Add companyCache to workflow for optimization (#17851)
Added a cache for company data to improve performance.
1 parent 723c0f3 commit e6f7d5e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/add-unanswered-to-project.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ jobs:
6767
6868
// Simple cache for user -> boolean (member of excluded org)
6969
const orgsCache = new Map();
70+
const companyCache = new Map();
7071
7172
async function isMemberOfExcludedOrg(user) {
7273
if (!user || !user.login) return false;

0 commit comments

Comments
 (0)