diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | dbus/dbus-message.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2005-07-27 Ross Burton <ross@openedhand.com> + + * dbus/dbus-message.c: + Reduce the size of the maximum cached message to 10K. + 2005-07-25 Ross Burton <ross@openedhand.com> * glib/dbus-gproxy.c: diff --git a/dbus/dbus-message.c b/dbus/dbus-message.c index 983eea93..880c25ef 100644 --- a/dbus/dbus-message.c +++ b/dbus/dbus-message.c @@ -510,7 +510,7 @@ dbus_message_finalize (DBusMessage *message) */ /** Avoid caching huge messages */ -#define MAX_MESSAGE_SIZE_TO_CACHE _DBUS_ONE_MEGABYTE +#define MAX_MESSAGE_SIZE_TO_CACHE 10 * _DBUS_ONE_KILOBYTE /** Avoid caching too many messages */ #define MAX_MESSAGE_CACHE_SIZE 5 |