Skip to content

Commit cf80d4b

Browse files
author
Patryk Lesiewicz
committed
Review feedback.
1 parent 011f91e commit cf80d4b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

firestore-counter/functions/lib/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class ShardedCounterWorker {
120120
unsubscribeMetadataListener = this.metadoc.ref.onSnapshot((snap) => {
121121
// if something's changed in the worker metadata since we were called, abort.
122122
if (!snap.exists || !deepEqual(snap.data(), this.metadata)) {
123-
console.log("shutting down cause metadoc changed.");
123+
console.log("Shutting down because metadoc changed.");
124124
shutdown()
125125
.then(resolve)
126126
.catch(reject);

firestore-counter/functions/src/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export class ShardedCounterWorker {
140140
unsubscribeMetadataListener = this.metadoc.ref.onSnapshot((snap) => {
141141
// if something's changed in the worker metadata since we were called, abort.
142142
if (!snap.exists || !deepEqual(snap.data(), this.metadata)) {
143-
console.log("shutting down cause metadoc changed.");
143+
console.log("Shutting down because metadoc changed.");
144144
shutdown()
145145
.then(resolve)
146146
.catch(reject);

0 commit comments

Comments
 (0)