From: DRC Date: Mon, 6 Apr 2009 18:45:59 +0000 (+0000) Subject: Set default deferred update timer to 1 ms X-Git-Tag: v0.0.90~31 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=61e1889dc7636e42ac781fe0f2aec64921b6a727;p=tigervnc.git Set default deferred update timer to 1 ms git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3760 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc index 9ad283b8..9a5fb408 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.cc +++ b/unix/xserver/hw/vnc/XserverDesktop.cc @@ -92,7 +92,7 @@ using namespace network; static LogWriter vlog("XserverDesktop"); rfb::IntParameter deferUpdateTime("DeferUpdate", - "Time in milliseconds to defer updates",40); + "Time in milliseconds to defer updates",1); rfb::BoolParameter alwaysSetDeferUpdateTimer("AlwaysSetDeferUpdateTimer", "Always reset the defer update timer on every change",false); diff --git a/unix/xserver/hw/vnc/Xvnc.man b/unix/xserver/hw/vnc/Xvnc.man index a831ddda..15d42f6c 100644 --- a/unix/xserver/hw/vnc/Xvnc.man +++ b/unix/xserver/hw/vnc/Xvnc.man @@ -118,7 +118,7 @@ fly via \fBvncpasswd\fP(1). .B \-deferUpdate \fItime\fP Xvnc uses a "deferred update" mechanism which enhances performance in many cases. After any change to the framebuffer, Xvnc waits for this number of -milliseconds (default 40) before sending an update to any waiting clients. This +milliseconds (default 1) before sending an update to any waiting clients. This means that more changes tend to get coalesced together in a single update. Setting it to 0 results in the same behaviour as earlier versions of Xvnc, where the first change to the framebuffer causes an immediate update to