NangoHQ / nango

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

chore: prevent concurrent scheduling #2359

Closed TBonnin closed 2 weeks ago

TBonnin commented 2 weeks ago

Replaces https://github.com/NangoHQ/nango/pull/2352

Having more than one worker scheduling tasks at the same time might have unexpected consequences and race conditions. This commit implements a lock around the scheduling transaction to ensure no concurrent scheduling

linear[bot] commented 2 weeks ago

NAN-1230 Orchestrator: support multiple instances