From: Lennart Poettering Date: Fri, 25 Jun 2010 21:16:13 +0000 (+0200) Subject: limits: considerably bump up limits, since users can now easily lower them again... X-Git-Url: http://git.meshlink.io/?p=catta;a=commitdiff_plain;h=b82aba015166542b2e25940c7875a6578b52a7d0 limits: considerably bump up limits, since users can now easily lower them again and some applications need the high values --- diff --git a/avahi-core/server.c b/avahi-core/server.c index 938c54d..558fec9 100644 --- a/avahi-core/server.c +++ b/avahi-core/server.c @@ -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); diff --git a/avahi-daemon/avahi-daemon.conf b/avahi-daemon/avahi-daemon.conf index b3185c7..456f330 100644 --- a/avahi-daemon/avahi-daemon.conf +++ b/avahi-daemon/avahi-daemon.conf @@ -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 diff --git a/avahi-daemon/dbus-internal.h b/avahi-daemon/dbus-internal.h index a786d62..0b86578 100644 --- a/avahi-daemon/dbus-internal.h +++ b/avahi-daemon/dbus-internal.h @@ -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;