Number of seconds between retags in Workbench

WTSupported in traditional Synergy on Windows




The WBTAGDELAY environment variable enables you to control the number of times context tagging can occur in a short span of time by changing the number of seconds that must elapse between retags.


The number of seconds that must elapse before retagging occurs. To turn off tag optimization, set the value to 0.


To optimize performance, Workbench retags only when either a certain amount of time has elapsed or a certain number of characters have changed since the last tag. This prevents frequent retags from occurring in a short period and causing a slowdown in large projects. The defaults are 10 seconds or 10 characters. These values are recommended for most users; however, more frequent tag operations may be desirable for faster computers to make sure tagging is always accurate.

To change the frequency at which retagging occurs, use WBTAGDELAY to change the number of seconds that must pass before retagging occurs. (You can also set the WBTAGCOUNT environment variable to change the number of characters that must be typed.)

Setting location

In Workbench using the syn_set command (not the set command).


Although WBTAGCOUNT and WBTAGDELAY can be set anywhere in the environment, we recommend only setting them in Workbench, because they have no effect on the runtime. To fine‑tune performance on a per‑project basis, consider setting WBTAGCOUNT and WBTAGDELAY in the Open tab of the Project Properties dialog.

Used by


See also



In Workbench, to make retagging occur after six seconds have elapsed,

syn_set wbtagdelay=6