summaryrefslogtreecommitdiffstats
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
commitbae865da2dca175a8fe25922aeee8e785521e19b (patch)
tree97075d57423d64a8627e14091cc7dad5ad532f09
parentd21a4368d27c77b083ac30ae080649157255b9f7 (diff)
downloadsamba-bae865da2dca175a8fe25922aeee8e785521e19b.tar.gz
samba-bae865da2dca175a8fe25922aeee8e785521e19b.tar.xz
samba-bae865da2dca175a8fe25922aeee8e785521e19b.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 ?
-rw-r--r--source/include/local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/local.h b/source/include/local.h
index d9e12e506b9..9a62aa7eb3f 100644
--- a/source/include/local.h
+++ b/source/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