dbus/dbus dbus-message.c,1.171,1.172
Ross Burton
ross at freedesktop.org
Thu Jul 28 05:38:44 EST 2005
Update of /cvs/dbus/dbus/dbus
In directory gabe:/tmp/cvs-serv9154/dbus
Modified Files:
dbus-message.c
Log Message:
Reduce size of message cache
Index: dbus-message.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-message.c,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -d -r1.171 -r1.172
--- dbus-message.c 15 Jun 2005 15:59:57 -0000 1.171
+++ dbus-message.c 27 Jul 2005 19:38:41 -0000 1.172
@@ -510,7 +510,7 @@
*/
/** 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
More information about the dbus-commit
mailing list