From b82aba015166542b2e25940c7875a6578b52a7d0 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 25 Jun 2010 23:16:13 +0200 Subject: limits: considerably bump up limits, since users can now easily lower them again and some applications need the high values --- avahi-daemon/avahi-daemon.conf | 8 ++++---- avahi-daemon/dbus-internal.h | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'avahi-daemon') 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; -- cgit