mirror of
https://github.com/amark/gun.git
synced 2025-11-23 22:15:55 +00:00
Update gun.js
This commit is contained in:
parent
5c7e5c31b1
commit
012d2ed11b
2
gun.js
2
gun.js
@ -1781,7 +1781,7 @@ if(!GUN.window){ return } // disable
|
|||||||
if(GUN.version < 0.2022){ return } // disable
|
if(GUN.version < 0.2022){ return } // disable
|
||||||
if(GUN.noAB || u !== GUN.testAXE){ return } // diable
|
if(GUN.noAB || u !== GUN.testAXE){ return } // diable
|
||||||
if(localStorage.noTest){ return } // disable
|
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`.");
|
console.log("Debugging p2p 'torrent' latency. Disable with `localStorage.noTest=1`.");
|
||||||
// TEST 1: Check if Rust has memory leak as idle websockets come/go.
|
// TEST 1: Check if Rust has memory leak as idle websockets come/go.
|
||||||
var s = +new Date, ws = new WebSocket(atob('d3NzOi8vZ3VuMDEuYml0Y2h1dGUueHl6L2d1bg'));
|
var s = +new Date, ws = new WebSocket(atob('d3NzOi8vZ3VuMDEuYml0Y2h1dGUueHl6L2d1bg'));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user