]> git.meshlink.io Git - catta/commitdiff
limits: considerably bump up limits, since users can now easily lower them again...
authorLennart Poettering <lennart@poettering.net>
Fri, 25 Jun 2010 21:16:13 +0000 (23:16 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 25 Jun 2010 21:16:13 +0000 (23:16 +0200)
avahi-core/server.c
avahi-daemon/avahi-daemon.conf
avahi-daemon/dbus-internal.h

index 938c54de362574153c6a2284ed9f823d830c2856..558fec948b34546cad0c9b3cd92c2dcc480e8e60 100644 (file)
@@ -49,7 +49,7 @@
 #include "domain-util.h"
 #include "rr-util.h"
 
-#define AVAHI_DEFAULT_CACHE_ENTRIES_MAX 500
+#define AVAHI_DEFAULT_CACHE_ENTRIES_MAX 4096
 
 static void enum_aux_records(AvahiServer *s, AvahiInterface *i, const char *name, uint16_t type, void (*callback)(AvahiServer *s, AvahiRecord *r, int flush_cache, void* userdata), void* userdata) {
     assert(s);
index b3185c771ae696bbe7f229aca308fe2096692ee1..456f330e66acc66a0e5d32d17669b2f1c2b919f7 100644 (file)
@@ -31,10 +31,10 @@ use-ipv6=no
 #enable-dbus=yes
 #disallow-other-stacks=no
 #allow-point-to-point=no
-#cache-entries-max=500
-#clients-max=256
-#objects-per-client-max=250
-#entries-per-entry-group-max=20
+#cache-entries-max=4096
+#clients-max=4096
+#objects-per-client-max=1024
+#entries-per-entry-group-max=32
 
 [wide-area]
 enable-wide-area=yes
index a786d628ce4952754d519a6e1957ec3e285911d8..0b865781fe67e76b6bcbab30a62e239cc07451a0 100644 (file)
@@ -43,9 +43,9 @@ typedef struct SyncServiceResolverInfo SyncServiceResolverInfo;
 typedef struct AsyncServiceResolverInfo AsyncServiceResolverInfo;
 typedef struct RecordBrowserInfo RecordBrowserInfo;
 
-#define DEFAULT_CLIENTS_MAX 256
-#define DEFAULT_OBJECTS_PER_CLIENT_MAX 250
-#define DEFAULT_ENTRIES_PER_ENTRY_GROUP_MAX 20
+#define DEFAULT_CLIENTS_MAX 4096
+#define DEFAULT_OBJECTS_PER_CLIENT_MAX 1024
+#define DEFAULT_ENTRIES_PER_ENTRY_GROUP_MAX 32
 
 struct EntryGroupInfo {
     unsigned id;