-
Notifications
You must be signed in to change notification settings - Fork 958
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for cloud tasks within the emulator. (#7475)
* register cloud task triggers * Create and register task queue emulator * Add basic features of task queue emulator * Implement a queue to improve performance of tasks emulator * Remove unused import * Register task queues from functions emulator * change task queue endpoint to accept IDs in body instead of query params * set enviornment variable when task queue emulator is running * Remove bug where tasks were getting dispatched too fast * Rework task enqueueing API and support task deletion * properly support task deletion * Refactor Task Dispatching Algorithm * Add task deduplication for all tasks that have ever been added * Refactor Task Queue * Add tests for task queue emulator * respond to PR review * update firebase-config.json * use node-fetch * fix tests * Make tasks emulator start up whenever functions emulator starts * fix error message * Add statistics endpoint * Add in global task deduplication * Add headers to request * Review Changes * Remove console logs * Update backoff calculations * add changelog --------- Co-authored-by: blidd-google <112491344+blidd-google@users.noreply.github.com> Co-authored-by: joehan <joehanley@google.com> Co-authored-by: Brian Li <blidd@google.com>
- Loading branch information
1 parent
dee2c89
commit 2b1a314
Showing
14 changed files
with
1,367 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
- Released Firestore Emulator v 1.19.8 which adds support for `FindNearest.distanceResultField` and `FindNearest.distanceThreshold` parameters. | ||
- Temporarily removing extensions from functions deploy because it was causing unexpected extension deletions. | ||
- Add support for cloud tasks within the emulator. (#7475) |
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
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
Oops, something went wrong.