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.
- package/package.json +1 -1
- package/src/batching.ts +1 -1
package/package.json
CHANGED
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 =
|
|
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)}+`;
|