@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/datastore-lib",
3
- "version": "3.19.0",
3
+ "version": "3.19.1",
4
4
  "description": "Opinionated library to work with Google Datastore",
5
5
  "scripts": {
6
6
  "prepare": "husky install"
@@ -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
  }