Add ProcessPriority option.
authorGuus Sliepen <guus@tinc-vpn.org>
Thu, 28 May 2009 20:51:30 +0000 (22:51 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Thu, 28 May 2009 20:51:30 +0000 (22:51 +0200)
commit41c10c5a966000531099c79d6006429253ff8fd6
tree95cf2d8459cf7c8ff87950e3cb9252be5d093f40
parent41a05f59ba2c3eb5caab555f096ed1b9fbe69ee3
Add ProcessPriority option.

This option can be set to low, normal or high. On UNIX flavours, this changes
the nice value of the process by +10, 0 and -10 respectively. On Windows, it
sets the priority to BELOW_NORMAL_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS and
HIGH_PRIORITY_CLASS respectively.

A high priority might help to reduce latency and packet loss on the VPN.
doc/tinc.conf.5.in
doc/tinc.texi
src/tincd.c