forked from transloadit/uppy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement periodic ping functionality (transloadit#3246)
* Implement periodic ping functionality allows periodically sending a POST request to one or more URL specified by COMPANION_PERIODIC_PING_URLS also add nock for easier testing * Update packages/@uppy/companion/src/companion.js Co-authored-by: Merlijn Vos <merlijn@soverin.net> * Update packages/@uppy/companion/src/server/jobs.js * allow posting a JSON body COMPANION_PERIODIC_PING_STATIC_JSON_PAYLOAD * add todo * remove package-lock accidentally added during merge * Add version and processId by default to periodic ping when enabled Co-authored-by: Merlijn Vos <merlijn@soverin.net>
- Loading branch information
Showing
4 changed files
with
113 additions
and
1 deletion.
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