From 012d2ed11bbf93d6d789ba9e20b826f90d2455df Mon Sep 17 00:00:00 2001 From: Mark Nadal Date: Thu, 10 Mar 2022 03:14:53 -0800 Subject: [PATCH] Update gun.js --- gun.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gun.js b/gun.js index 60f5aca3..e0743b94 100644 --- a/gun.js +++ b/gun.js @@ -1781,7 +1781,7 @@ if(!GUN.window){ return } // disable if(GUN.version < 0.2022){ return } // disable if(GUN.noAB || u !== GUN.testAXE){ return } // diable if(localStorage.noTest){ return } // disable -if(Math.random() > 0.01){ return } // reached ulimit, shrink sample size. +//if(Math.random() > 0.01){ return } // reached ulimit, shrink sample size. console.log("Debugging p2p 'torrent' latency. Disable with `localStorage.noTest=1`."); // TEST 1: Check if Rust has memory leak as idle websockets come/go. var s = +new Date, ws = new WebSocket(atob('d3NzOi8vZ3VuMDEuYml0Y2h1dGUueHl6L2d1bg'));