amphora 8.4.2-dev.0 → 8.4.2-dev.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/lib/responses.js +7 -0
- package/package.json +1 -1
package/lib/responses.js
CHANGED
|
@@ -459,6 +459,13 @@ function checkPageSize(req) {
|
|
|
459
459
|
const sizeParam = toInt(req.query.size);
|
|
460
460
|
const sizeMax = toInt(process.env.CLAY_STORAGE_MAX_PAGE_SIZE);
|
|
461
461
|
|
|
462
|
+
console.log(
|
|
463
|
+
`env.default ${
|
|
464
|
+
process.env.CLAY_STORAGE_DEFAULT_PAGE_SIZE
|
|
465
|
+
}, type ${typeof process.env
|
|
466
|
+
.CLAY_STORAGE_DEFAULT_PAGE_SIZE}, resolved default ${sizeDefault}, type ${typeof sizeDefault}, resolvedMax ${sizeMax}, query param ${sizeParam}`
|
|
467
|
+
);
|
|
468
|
+
|
|
462
469
|
const size = sizeParam || sizeDefault;
|
|
463
470
|
|
|
464
471
|
if (size) {
|
package/package.json
CHANGED