Skip to content

Commit a7100d7

Browse files
committed
Cache twice daily, adjusted retry parameters
1 parent c84d824 commit a7100d7

5 files changed

Lines changed: 3 additions & 51 deletions

File tree

.github/workflows/cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Routine Data Cache Request
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '45 7 * * *'
6+
- cron: '45 8,20 * * *'
77

88
concurrency:
99
group: data-cache

.github/workflows/update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Routine Data Update
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '45 9 * * *'
6+
- cron: '45 10 * * *'
77

88
concurrency:
99
group: data-updates
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
# --- CHACHEABLE QUERIES ---
22
cache_repos_activitycommits
3-
cache_repos_dependencies

_visualize/scripts/cache_repos_dependencies.py

Lines changed: 0 additions & 47 deletions
This file was deleted.

_visualize/scripts/get_repos_activitycommits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
dataCollector.data = {"data": {}}
2121

2222
# Initialize query manager
23-
queryMan = qm.GitHubQueryManager(maxRetry=15, retryDelay=2)
23+
queryMan = qm.GitHubQueryManager(maxRetry=10, retryDelay=3)
2424

2525
# Iterate through internal repos
2626
print("Gathering data across multiple queries...")

0 commit comments

Comments
 (0)