Explorar o código

Fix bad connection debugging parameters

James Allen %!s(int64=11) %!d(string=hai) anos
pai
achega
dea97bb9dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/web/public/coffee/ide/editor/ShareJsDoc.coffee

+ 1 - 1
services/web/public/coffee/ide/editor/ShareJsDoc.coffee

@@ -31,7 +31,7 @@ define [
 					if window.disconnectOnUpdate? and Math.random() < window.disconnectOnUpdate
 						console.log "Disconnecting on update", update
 						window._ide.socket.socket.disconnect()
-					if window.dropUpdates? and Math.random() < window.dropAcks
+					if window.dropUpdates? and Math.random() < window.dropUpdates
 						console.log "Simulating a lost update", update
 						return
 					@socket.emit "applyOtUpdate", @doc_id, update