canonn-science / CAPIv2-Updater

Nodejs based tool to update the Canonn API with planetary and stellar data from EDSM
GNU General Public License v3.0
1 stars 0 forks source link

If body is not found, increase missingSkipCount #9

Open derrickmehaffy opened 5 years ago

derrickmehaffy commented 5 years ago

We should add in the missingSkipCount for both systems and bodies.

If the System/Body is not found, take the current value for missingSkipCount and increase by 1. After it reaches 10, the updater should filter out the query and not pull it. When this reaches >= 10 it means we need to manually confirm the body and force an update.

Increasing and filtering should only apply to the bulk updater commands and not the specific lookups IE:

Yes: npm run updateSystems No: npm run updateSystems systems=[1,2,3]