gluon-radv-filterd: Tweak constants

As I have seen instances of ebtables being killed with a timeout of 100ms,
increasing it to 500ms.

Also, to ease the straint on the CPU, increasing minimum time between TQ checks
to 15 seconds.
This commit is contained in:
Jan-Philipp Litza 2016-12-09 20:24:01 +01:00
parent bd85e99078
commit c887960e90
No known key found for this signature in database
GPG Key ID: 1FB658053CE27196

View File

@ -57,10 +57,10 @@
// Recheck TQs at most this often, even if new RAs were received (they won't
// become the preferred routers until the TQs have been rechecked)
// Also, the first update will take at least this long
#define MIN_INTERVAL 5
#define MIN_INTERVAL 15
// max execution time of a single ebtables call in nanoseconds
#define EBTABLES_TIMEOUT 1e8 // 100ms
#define EBTABLES_TIMEOUT 5e8 // 500ms
// TQ value assigned to local routers
#define LOCAL_TQ 512