Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
peer: increase ping array
Browse files Browse the repository at this point in the history
  • Loading branch information
flavioribeiro committed Nov 10, 2014
1 parent 3458e3c commit f3a35fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/peer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Peer extends BaseObject {

sendPing() {
this.pingSent = Date.now()
this.dataChannel.send("ping$$" + (new Array(10*1024)).join("x"))
this.dataChannel.send("ping$$" + (new Array(300*1024)).join("x"))
}

sendPong() {
Expand Down

0 comments on commit f3a35fa

Please sign in to comment.