0001-alfred-adjust-intervals.patch 801 B

12345678910111213141516171819202122232425
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Wed, 7 Jan 2015 16:45:09 +0100
  3. Subject: alfred: adjust intervals
  4. diff --git a/alfred/patches/0001-alfred-adjust-intervals.patch b/alfred/patches/0001-alfred-adjust-intervals.patch
  5. new file mode 100644
  6. index 0000000..a8e0b4d
  7. --- /dev/null
  8. +++ b/alfred/patches/0001-alfred-adjust-intervals.patch
  9. @@ -0,0 +1,15 @@
  10. +--- a/alfred.h
  11. ++++ b/alfred.h
  12. +@@ -32,10 +32,10 @@
  13. + #include "list.h"
  14. + #include "packet.h"
  15. +
  16. +-#define ALFRED_INTERVAL 10
  17. ++#define ALFRED_INTERVAL 60
  18. + #define ALFRED_IF_CHECK_INTERVAL 60
  19. + #define ALFRED_REQUEST_TIMEOUT 10
  20. +-#define ALFRED_SERVER_TIMEOUT 60
  21. ++#define ALFRED_SERVER_TIMEOUT 180
  22. + #define ALFRED_DATA_TIMEOUT 600
  23. + #define ALFRED_SOCK_PATH_DEFAULT "/var/run/alfred.sock"
  24. + #define NO_FILTER -1