mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-25 19:16:19 +00:00
Compare commits
No commits in common. "a77bcda3aae46765daae681f18020f1bcc1bcf9d" and "8729bb0108d87be391855c57d7d69a336bffa0ca" have entirely different histories.
a77bcda3aa
...
8729bb0108
2 changed files with 5 additions and 10 deletions
8
.github/workflows/sepa-precios-archiver.yml
vendored
8
.github/workflows/sepa-precios-archiver.yml
vendored
|
@ -15,10 +15,10 @@ jobs:
|
|||
- uses: oven-sh/setup-bun@v2
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Setup tmate session
|
||||
uses: mxschmitt/action-tmate@v3
|
||||
with:
|
||||
limit-access-to-actor: true
|
||||
# - name: Setup tmate session
|
||||
# uses: mxschmitt/action-tmate@v3
|
||||
# with:
|
||||
# limit-access-to-actor: true
|
||||
|
||||
- name: Run archiver script
|
||||
env:
|
||||
|
|
|
@ -38,15 +38,10 @@ async function getRawDatasetInfo() {
|
|||
);
|
||||
return await response.json();
|
||||
} catch (error) {
|
||||
console.error(
|
||||
`❌ Error fetching dataset info`,
|
||||
error,
|
||||
`retrying in 5min...`,
|
||||
);
|
||||
console.error(`❌ Error fetching dataset info`, error, `retrying in 5min...`);
|
||||
await new Promise((resolve) => setTimeout(resolve, 5 * 60 * 1000));
|
||||
return await getRawDatasetInfo();
|
||||
}
|
||||
}
|
||||
|
||||
async function saveDatasetInfoIntoRepo(datasetInfo: any) {
|
||||
const dir = await mkdtemp("/tmp/sepa-precios-archiver-metadata-repo-");
|
||||
|
|
Loading…
Reference in a new issue