-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: do not wait for on-event script to finish when triggering them (#…
…3075) on-event scripts don't have output so waiting for them to finish is not necessary. Also modifying the max duration timeout to 5mins for on-event script How to test: - modify your on-event script to sleep. Ex: ``` const waitTime = 10; for (let i = 0; i < waitTime; i++) { await nango.log(`Countdown: ${waitTime - i}`); await new Promise((resolve) => setTimeout(resolve, 1000)); } ``` - create/delete a connection and then check in the logs dashboard that the script is still running and you didn't have to wait for it
- Loading branch information
Showing
5 changed files
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters