Explorar el Código

Fix bad connection debugging parameters

James Allen hace 11 años
padre
commit
dea97bb9dc
Se han modificado 1 ficheros con 1 adiciones y 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