Skip to content

Commit c891754

Browse files
committed
Enhance Rust skins fetching process with improved rate limiting, increased timeout, and fallback strategies. Updated GitHub Actions workflow to accommodate new parameters and increased max items to fetch.
1 parent 52e0722 commit c891754

2 files changed

Lines changed: 232 additions & 26 deletions

File tree

.github/workflows/fetch-rust-skins.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
fetch-skins:
1212
runs-on: ubuntu-latest
13-
timeout-minutes: 60 # Increased timeout to accommodate all ~5000 skins
13+
timeout-minutes: 60
1414

1515
steps:
1616
- name: Checkout repository
@@ -27,7 +27,7 @@ jobs:
2727
pip install -r requirements.txt
2828
2929
- name: Fetch Rust skins
30-
run: python scripts/fetch_rust_skins.py --clear --max-items 10000
30+
run: python scripts/fetch_rust_skins.py --clear --max-items 15000 --timeout 2400
3131
env:
3232
STEAM_API_KEY: ${{ secrets.STEAM_API_KEY }}
3333
continue-on-error: false # Fail the workflow if the script fails.

0 commit comments

Comments
 (0)