Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions firestore-counter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## Version 0.2.14

chore: update Cloud Functions runtime to Node.js 22
chore: ran npm run audit fix
chore: add esModuleInterop and skipLibCheck to tsconfig.json

## Version 0.2.13

chore: bump dependencies
Expand Down
8 changes: 4 additions & 4 deletions firestore-counter/extension.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

name: firestore-counter
version: 0.2.13
version: 0.2.14
specVersion: v1beta

displayName: Distributed Counter
Expand Down Expand Up @@ -53,7 +53,7 @@ resources:
This scheduled function either aggregates shards itself, or it schedules
and monitors workers to aggregate shards.
properties:
runtime: nodejs20
runtime: nodejs22
maxInstances: 1
scheduleTrigger:
schedule: "every ${param:SCHEDULE_FREQUENCY} minutes"
Expand All @@ -64,7 +64,7 @@ resources:
Listens for changes on counter shards that may need aggregating. This
function is limited to max 1 instance.
properties:
runtime: nodejs20
runtime: nodejs22
maxInstances: 1
timeout: 120s
eventTrigger:
Expand All @@ -78,7 +78,7 @@ resources:
or more worker functions running at any point in time. The controllerCore
function is responsible for scheduling and monitoring these workers.
properties:
runtime: nodejs20
runtime: nodejs22
eventTrigger:
eventType: providers/cloud.firestore/eventTypes/document.write
resource: projects/${param:PROJECT_ID}/databases/(default)/documents/${param:INTERNAL_STATE_PATH}/workers/{workerId}
Expand Down
Loading
Loading