mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-22 06:16:18 +00:00
wow
This commit is contained in:
parent
8729bb0108
commit
b93ca09190
1 changed files with 6 additions and 1 deletions
|
@ -38,9 +38,14 @@ 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) {
|
||||
|
|
Loading…
Reference in a new issue