@naturalcycles/firestore-lib 2.14.1 → 2.14.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,7 +53,7 @@ export class FirestoreShardedReadable extends Readable {
|
|
|
53
53
|
// console.log(`_read called ${++this.count}, wasRunning: ${this.running}`) // debugging
|
|
54
54
|
this.count++;
|
|
55
55
|
if (this.done) {
|
|
56
|
-
this.logger.log(`!!! _read was called, but done==true`);
|
|
56
|
+
this.logger.log(`!!! ${this.table} _read was called, but done==true`);
|
|
57
57
|
return;
|
|
58
58
|
}
|
|
59
59
|
// const shard = this.getNextShardAndMove()
|
|
@@ -49,7 +49,7 @@ export class FirestoreStreamReadable extends Readable {
|
|
|
49
49
|
// console.log(`_read called ${++this.count}, wasRunning: ${this.running}`) // debugging
|
|
50
50
|
this.countReads++;
|
|
51
51
|
if (this.done) {
|
|
52
|
-
this.logger.warn(`!!! _read was called, but done==true`);
|
|
52
|
+
this.logger.warn(`!!! ${this.table} _read was called, but done==true`);
|
|
53
53
|
return;
|
|
54
54
|
}
|
|
55
55
|
if (this.paused) {
|
package/package.json
CHANGED
|
@@ -72,7 +72,7 @@ export class FirestoreStreamReadable<T extends ObjectWithId = any>
|
|
|
72
72
|
this.countReads++
|
|
73
73
|
|
|
74
74
|
if (this.done) {
|
|
75
|
-
this.logger.warn(`!!! _read was called, but done==true`)
|
|
75
|
+
this.logger.warn(`!!! ${this.table} _read was called, but done==true`)
|
|
76
76
|
return
|
|
77
77
|
}
|
|
78
78
|
|