Skip to content

Commit

Permalink
dfg
Browse files Browse the repository at this point in the history
  • Loading branch information
codergautam committed Oct 23, 2024
1 parent 6edd958 commit 2e9a7d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ws/ws.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ console.error = function () {
}

blockedAt((time, stack) => {
console.log(`Blocked for ${time}ms, operation started here:`, JSON.stringify(stack, null, 2));
if(time > 1000) console.log(`Blocked for ${time}ms, operation started here:`, JSON.stringify(stack, null, 2));
})
function stop(reason) {
console.error('Stopping server', reason);
Expand Down

0 comments on commit 2e9a7d1

Please sign in to comment.