summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-17 00:02:19 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-17 00:02:19 +0000
commit15cf7db4c94042a512864a07437689a19609acbe (patch)
treea2ae5e95d47c48cf7b38465840935f91c25cc70c /source3/include
parent09c0c6f0d6fa02554a2a3e0c10a2c93ae4de3583 (diff)
downloadsamba-15cf7db4c94042a512864a07437689a19609acbe.tar.gz
samba-15cf7db4c94042a512864a07437689a19609acbe.tar.bz2
samba-15cf7db4c94042a512864a07437689a19609acbe.zip
changed the default MAXSTATUS from 1000 to 100000
This number limits the number of simultaneous connections to the server. The 1000 limit is from a looong time ago when I couldn't imagine anyone wanting to have 1000 simultaneous clients. Now I hear that people are testing with such numbers. I wonder when I'll change it from 100k ? (This used to be commit bae865da2dca175a8fe25922aeee8e785521e19b)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/local.h b/source3/include/local.h
index d9e12e506b..9a62aa7eb3 100644
--- a/source3/include/local.h
+++ b/source3/include/local.h
@@ -34,8 +34,8 @@
#define SHMEM_SIZE (1024*MAX_OPEN_FILES)
#endif
-/* the max number of connections that the smbstatus program will show */
-#define MAXSTATUS 1000
+/* the max number of simultanous connections to the server by all clients */
+#define MAXSTATUS 100000
/* max number of directories open at once */
/* note that with the new directory code this no longer requires a