Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated packaging approach for reducing the number of github requests #203

Merged
merged 6 commits into from
Jan 13, 2025

Conversation

IvanRuzavin
Copy link
Contributor

This PR is needed only for huge updates like year switch in header files.

Currently per 1 Asset Upload-Delete request function call we use 4-20 github requests.
With 450 assets (at the moment when this PR was created) we exceed 5000 request limit if we need to reupload all of them (we always have chack indexes script running in the background twice in an hour and 1 scheduled workflow at the moment takes 900 requests)

So with this update packaging script will take ~10 requests in the beginning to take all uploaded assets and then just 2 requests for Asset Delete-Upload function call.

This PR is needed only for huge updates like year switch in header files.

Currently per 1 Asset Upload-Delete request function call we use 4-20 github requests.
With 450 assets (at the moment when this PR was created) we exceed 5000 request limit if we need to reupload all of them (we always have chack indexes script running in the background twice in an hour and 1 scheduled workflow at the moment takes 900 requests)

So with this update packaging script will take ~10 requests in the beginning to take all uploaded assets and then just 2 requests for Asset Delete-Upload function call.
@IvanRuzavin IvanRuzavin changed the title Updated papckaging approach for reducing the number of github requests Updated packaging approach for reducing the number of github requests Jan 9, 2025
@StrahinjaJacimovic StrahinjaJacimovic merged commit 6076e26 into master Jan 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants