@opengis/fastify-table 1.3.32 → 1.3.33

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/fastify-table",
3
- "version": "1.3.32",
3
+ "version": "1.3.33",
4
4
  "type": "module",
5
5
  "description": "core-plugins",
6
6
  "keywords": [
@@ -187,7 +187,7 @@ export default async function dataAPI(req, reply, called) {
187
187
 
188
188
  const counts = keyQuery || tokenData?.id || hookData?.id || params.id
189
189
  ? { total: rows.length, filtered: rows.length }
190
- : await pg.queryCache?.(qCount, { table: loadTable?.table || tokenData?.table, time: 5 * 60 }).then(el => el?.rows[0] || {});
190
+ : await pg.queryCache?.(qCount, { table: loadTable?.table || tokenData?.table, time: 5 }).then(el => el?.rows[0] || {});
191
191
 
192
192
  timeArr.push(Date.now())
193
193
  const { total, filtered } = counts || {};