cudeso / misp2sentinel

MISP to Sentinel integration
MIT License
52 stars 17 forks source link

Rate limiting shouldn't terminate the execution but wait for the rate limit to run out and continue #67

Closed Kaloszer closed 7 months ago

Kaloszer commented 7 months ago

Noticed that sometimes when testing I get rate limited getting error code 429- '... try again in {} seconds'.

We should add an automatic wait and retry after said {time} - additionally this should be a warning not an error.

cudeso commented 7 months ago

Indeed. Good catch. Will fix address in the next update.

Kaloszer commented 7 months ago

@cudeso I've actually added this just now in my fork. I think it should work, just need to validate.