26 lines
801 B
Diff
26 lines
801 B
Diff
From: Matthias Schiffer <mschiffer@universe-factory.net>
|
|
Date: Wed, 7 Jan 2015 16:45:09 +0100
|
|
Subject: alfred: adjust intervals
|
|
|
|
diff --git a/alfred/patches/0001-alfred-adjust-intervals.patch b/alfred/patches/0001-alfred-adjust-intervals.patch
|
|
new file mode 100644
|
|
index 0000000..a8e0b4d
|
|
--- /dev/null
|
|
+++ b/alfred/patches/0001-alfred-adjust-intervals.patch
|
|
@@ -0,0 +1,15 @@
|
|
+--- a/alfred.h
|
|
++++ b/alfred.h
|
|
+@@ -32,10 +32,10 @@
|
|
+ #include "list.h"
|
|
+ #include "packet.h"
|
|
+
|
|
+-#define ALFRED_INTERVAL 10
|
|
++#define ALFRED_INTERVAL 60
|
|
+ #define ALFRED_IF_CHECK_INTERVAL 60
|
|
+ #define ALFRED_REQUEST_TIMEOUT 10
|
|
+-#define ALFRED_SERVER_TIMEOUT 60
|
|
++#define ALFRED_SERVER_TIMEOUT 180
|
|
+ #define ALFRED_DATA_TIMEOUT 600
|
|
+ #define ALFRED_SOCK_PATH_DEFAULT "/var/run/alfred.sock"
|
|
+ #define NO_FILTER -1
|