0001-alfred-adjust-intervals.patch 795 B

12345678910111213141516171819202122232425
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Sat, 26 Jul 2014 18:58:22 +0200
  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..e8ffd3a
  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. +@@ -30,10 +30,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 "/var/run/alfred.sock"
  24. + #define NO_FILTER -1