diff options
author | Holger Weiss <hweiss@users.sourceforge.net> | 2007-03-22 17:54:16 (GMT) |
---|---|---|
committer | Holger Weiss <hweiss@users.sourceforge.net> | 2007-03-22 17:54:16 (GMT) |
commit | b6a9796625c49c6bd73bd64066ae5276d74b1dfd (patch) | |
tree | 0579cf9c92e30f354fbed4baba6eee260ab5b025 | |
parent | 8d0e8a652f3c729b1c07c821695188af395f6c24 (diff) | |
download | monitoring-plugins-b6a9796625c49c6bd73bd64066ae5276d74b1dfd.tar.gz |
Increase MAX_INPUT_BUFFER from 1k to 8k in order to increase I/O
performance (Stefan Meier)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1646 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | THANKS.in | 1 | ||||
-rw-r--r-- | plugins/common.h | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -212,3 +212,4 @@ Ville Mattila | |||
212 | Lars Stavholm | 212 | Lars Stavholm |
213 | Enrico Scholz | 213 | Enrico Scholz |
214 | Marlo Bell | 214 | Marlo Bell |
215 | Stefan Meier | ||
diff --git a/plugins/common.h b/plugins/common.h index 6190a02..dd9a056 100644 --- a/plugins/common.h +++ b/plugins/common.h | |||
@@ -189,7 +189,7 @@ enum { | |||
189 | 189 | ||
190 | enum { | 190 | enum { |
191 | DEFAULT_SOCKET_TIMEOUT = 10, /* timeout after 10 seconds */ | 191 | DEFAULT_SOCKET_TIMEOUT = 10, /* timeout after 10 seconds */ |
192 | MAX_INPUT_BUFFER = 1024, /* max size of most buffers we use */ | 192 | MAX_INPUT_BUFFER = 8192, /* max size of most buffers we use */ |
193 | MAX_HOST_ADDRESS_LENGTH = 256 /* max size of a host address */ | 193 | MAX_HOST_ADDRESS_LENGTH = 256 /* max size of a host address */ |
194 | }; | 194 | }; |
195 | 195 | ||