@naturalcycles/datastore-lib 3.19.0 → 3.19.1
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.
- package/dist/datastore.db.js +4 -0
- package/package.json +1 -1
- package/src/datastore.db.ts +4 -0
package/dist/datastore.db.js
CHANGED
|
@@ -79,6 +79,10 @@ class DatastoreDB extends db_lib_1.BaseCommonDB {
|
|
|
79
79
|
const r = await (0, js_lib_1.pTimeout)(this.ds().get(keys), {
|
|
80
80
|
timeout: this.cfg.timeout,
|
|
81
81
|
name: `datastore.getByIds(${table}) second try`,
|
|
82
|
+
errorData: {
|
|
83
|
+
// This error will be grouped ACROSS all endpoints and usages
|
|
84
|
+
fingerprint: ['DATASTORE_TIMEOUT'],
|
|
85
|
+
},
|
|
82
86
|
});
|
|
83
87
|
rows = r[0];
|
|
84
88
|
}
|
package/package.json
CHANGED
package/src/datastore.db.ts
CHANGED
|
@@ -138,6 +138,10 @@ export class DatastoreDB extends BaseCommonDB implements CommonDB {
|
|
|
138
138
|
const r = await pTimeout(this.ds().get(keys), {
|
|
139
139
|
timeout: this.cfg.timeout,
|
|
140
140
|
name: `datastore.getByIds(${table}) second try`,
|
|
141
|
+
errorData: {
|
|
142
|
+
// This error will be grouped ACROSS all endpoints and usages
|
|
143
|
+
fingerprint: ['DATASTORE_TIMEOUT'],
|
|
144
|
+
},
|
|
141
145
|
})
|
|
142
146
|
rows = r[0]
|
|
143
147
|
}
|