socket-function 1.1.27 → 1.1.28

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/batching.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "socket-function",
3
- "version": "1.1.27",
3
+ "version": "1.1.28",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "dependencies": {
package/src/batching.ts CHANGED
@@ -395,7 +395,7 @@ export async function safeLoop<T, R>(config: {
395
395
  while (!done) {
396
396
  await delay(5000);
397
397
  if (done) break;
398
- let message = `${label} @ ${index} / ${data.length} | ${formatTime(Date.now() - startTime)}`;
398
+ let message = `SLOW LOOP | ${index} / ${data.length} | ${formatTime(Date.now() - startTime)} | ${label}`;
399
399
  let timeOnCurrent = Date.now() - indexStartTime;
400
400
  if (timeOnCurrent > 5000) {
401
401
  message += `| SLOW INDEX (${index}) ${formatTime(timeOnCurrent)}+`;