querysub 0.249.0 → 0.250.0

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": "querysub",
3
- "version": "0.249.0",
3
+ "version": "0.250.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -371,6 +371,8 @@ while IFS= read -r line; do
371
371
  sleep 2
372
372
  # Keep only the last ${PIPE_FILE_LINE_LIMIT} lines when file gets too many lines
373
373
  tail -n ${Math.floor(PIPE_FILE_LINE_LIMIT / 2)} "${pipeFile}" > "${pipeFile}.tmp" && mv "${pipeFile}.tmp" "${pipeFile}"
374
+ # AND, give it time to read the truncation
375
+ sleep 2
374
376
  fi
375
377
  fi
376
378
  fi