25 lines
755 B
Diff
25 lines
755 B
Diff
|
From: Matthias Schiffer <mschiffer@universe-factory.net>
|
||
|
Date: Sat, 18 Jan 2014 21:52:09 +0100
|
||
|
Subject: alfred: adjust intervals
|
||
|
|
||
|
diff --git a/alfred/patches/0003-alfred-adjust-intervals.patch b/alfred/patches/0003-alfred-adjust-intervals.patch
|
||
|
new file mode 100644
|
||
|
index 0000000..eb31f91
|
||
|
--- /dev/null
|
||
|
+++ b/alfred/patches/0003-alfred-adjust-intervals.patch
|
||
|
@@ -0,0 +1,14 @@
|
||
|
+--- a/alfred.h
|
||
|
++++ b/alfred.h
|
||
|
+@@ -30,9 +30,9 @@
|
||
|
+ #include "list.h"
|
||
|
+ #include "packet.h"
|
||
|
+
|
||
|
+-#define ALFRED_INTERVAL 10
|
||
|
++#define ALFRED_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 "/var/run/alfred.sock"
|
||
|
+ #define NO_FILTER -1
|