@naturalcycles/datastore-lib 3.39.1 → 3.39.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.
- package/dist/datastore.db.js +1 -1
- package/package.json +1 -1
- package/src/datastore.db.ts +1 -1
package/dist/datastore.db.js
CHANGED
|
@@ -11,7 +11,7 @@ const query_util_1 = require("./query.util");
|
|
|
11
11
|
// Datastore (also Firestore and other Google APIs) supports max 500 of items when saving/deleting, etc.
|
|
12
12
|
const MAX_ITEMS = 500;
|
|
13
13
|
// It's an empyrical value, but anything less than infinity is better than infinity
|
|
14
|
-
const DATASTORE_RECOMMENDED_CONCURRENCY =
|
|
14
|
+
const DATASTORE_RECOMMENDED_CONCURRENCY = 8;
|
|
15
15
|
const RETRY_ON = [
|
|
16
16
|
'GOAWAY',
|
|
17
17
|
'UNAVAILABLE',
|
package/package.json
CHANGED
package/src/datastore.db.ts
CHANGED
|
@@ -54,7 +54,7 @@ import { dbQueryToDatastoreQuery } from './query.util'
|
|
|
54
54
|
// Datastore (also Firestore and other Google APIs) supports max 500 of items when saving/deleting, etc.
|
|
55
55
|
const MAX_ITEMS = 500
|
|
56
56
|
// It's an empyrical value, but anything less than infinity is better than infinity
|
|
57
|
-
const DATASTORE_RECOMMENDED_CONCURRENCY =
|
|
57
|
+
const DATASTORE_RECOMMENDED_CONCURRENCY = 8
|
|
58
58
|
|
|
59
59
|
const RETRY_ON = [
|
|
60
60
|
'GOAWAY',
|