JupiterOne-Archives / graph-artifactory

A graph conversion tool for https://www.jfrog.com/confluence/display/JFROG/JFrog+Artifactory
Mozilla Public License 2.0
1 stars 5 forks source link

lower the amount of repo keys to query artifacts when timeout #83

Closed RonaldEAM closed 5 months ago

RonaldEAM commented 5 months ago

The change to lower the limit of pages didn't work to avoid the timeout issue, my guess now is that the query is heavy to process on server side because of the number of repo keys in the query and not because of page size, so I did that change here to lower the repo keys we query if we get a timeout error.

also for builds step we were getting this error

{\n  \"errors\" : [ {\n    \"status\" : 500,\n    \"message\" : \"Binary provider has no content for '2de36ade1f3bb3ff8643ef92ebff79633dfb1a72'\"\n  } ]\n}

The change I did skips that error and publish a warn message of which build failed so they can fix it because it's an issue with artifactory itself

socket-security[bot] commented 5 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@types/lodash@4.17.4 None 0 863 kB types

🚮 Removed packages: npm/fetch-mock-jest@1.5.1

View full report↗︎