Skip to content

Commit

Permalink
update max count for getVisMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanweiler92 committed Aug 17, 2023
1 parent 29554f0 commit 3a6d073
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/build-options/getVisMetadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ async function getMetadata (layerId, baseUrl, count) {
async function handleException (error, layerId, url, count) {
if (!count) count = 0
count++
// TEMP CHANGE TO MAKE THIS PART QUICKER
if (count <= 0) {
if (count <= 5) {
await getMetadata(layerId, url, count)
} else {
console.warn(`\n ${prog} WARN: Unable to fetch ${layerId} ${error}`)
Expand Down

0 comments on commit 3a6d073

Please sign in to comment.