[PR #5465] [MERGED] parallelise contributor points calculations #5949

Closed
opened 2026-02-28 21:21:29 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/actualbudget/actual/pull/5465
Author: @matt-fidd
Created: 8/3/2025
Status: Merged
Merged: 8/4/2025
Merged by: @matt-fidd

Base: masterHead: points-concurrent


📝 Commits (3)

  • ab85e22 make issues and pr fetching concurrent
  • 3e7f5c9 reduce concurrency limit
  • b851b23 fix merge issue

📊 Changes

3 files changed (+124 additions, -110 deletions)

View changed files

📝 .github/scripts/count-points.mjs (+106 -110)
📝 package.json (+1 -0)
📝 yarn.lock (+17 -0)

📄 Description

Before:

% time node .github/scripts/count-points.mjs
0.95s user 0.10s system 0% cpu 2:21.68 total

After:

% time node .github/scripts/count-points.mjs
0.88s user 0.08s system 14% cpu 6.702 total

Down from 2m21 to 6s - a nice improvement!

Rate limit info here: https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#about-secondary-rate-limits

No more than 100 concurrent requests are allowed. This limit is shared across the REST API and GraphQL API.

90 should be safe here, obviously if you spam the command you'll hit the per-minute rate limit a bit faster now.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/actualbudget/actual/pull/5465 **Author:** [@matt-fidd](https://github.com/matt-fidd) **Created:** 8/3/2025 **Status:** ✅ Merged **Merged:** 8/4/2025 **Merged by:** [@matt-fidd](https://github.com/matt-fidd) **Base:** `master` ← **Head:** `points-concurrent` --- ### 📝 Commits (3) - [`ab85e22`](https://github.com/actualbudget/actual/commit/ab85e22bd614df84c9e69179823d293849e55b03) make issues and pr fetching concurrent - [`3e7f5c9`](https://github.com/actualbudget/actual/commit/3e7f5c978e2fb56227deb0346a4636d6aedaad92) reduce concurrency limit - [`b851b23`](https://github.com/actualbudget/actual/commit/b851b23db13f641e5bc03cc035a276b7cc02b2d1) fix merge issue ### 📊 Changes **3 files changed** (+124 additions, -110 deletions) <details> <summary>View changed files</summary> 📝 `.github/scripts/count-points.mjs` (+106 -110) 📝 `package.json` (+1 -0) 📝 `yarn.lock` (+17 -0) </details> ### 📄 Description Before: ```sh % time node .github/scripts/count-points.mjs 0.95s user 0.10s system 0% cpu 2:21.68 total ``` After: ```sh % time node .github/scripts/count-points.mjs 0.88s user 0.08s system 14% cpu 6.702 total ``` Down from 2m21 to 6s - a nice improvement! Rate limit info here: https://docs.github.com/en/rest/using-the-rest-api/rate-limits-for-the-rest-api?apiVersion=2022-11-28#about-secondary-rate-limits > No more than 100 concurrent requests are allowed. This limit is shared across the REST API and GraphQL API. 90 should be safe here, obviously if you spam the command you'll hit the per-minute rate limit a bit faster now. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-02-28 21:21:29 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#5949