NangoHQ / nango

A single API for all your integrations.
https://www.nango.dev
Other
4.33k stars 382 forks source link

fix(auth): [nan-1249] update number to refresh and update last fetched even if failed #2368

Closed khaliqgant closed 2 weeks ago

khaliqgant commented 2 weeks ago

Describe your changes

On refreshes if a connection fails to refresh we don't update the last_fetched_at date which means all the failed connections attempt to refresh at each cron and likely take up all of the "seats" to refresh. Some connections need to be refreshed very often.

Issue ticket number and link

NAN-1249

Checklist before requesting a review (skip if just adding/editing APIs & templates)

linear[bot] commented 2 weeks ago

NAN-1249 Lago Netsuite/Xero failures