[systemd-devel] [PATCH] test: bump KDBUS_CONN_MAX_MSGS_PER_USER value

Djalal Harouni tixxdz at opendz.org
Tue Feb 17 03:20:30 PST 2015


Hi Lukasz,

On Tue, Feb 17, 2015 at 11:37:53AM +0100, Lukasz Skalski wrote:
> diff --git a/test/test-message.c b/test/test-message.c
> index 03ac71e..0cae942 100644
> --- a/test/test-message.c
> +++ b/test/test-message.c
> @@ -28,7 +28,7 @@
>   * maximum number of queued messages from the same indvidual user after the
>   * the un-accounted value has been hit
>   */
> -#define KDBUS_CONN_MAX_MSGS_PER_USER		16
> +#define KDBUS_CONN_MAX_MSGS_PER_USER		128
Actually, the limit bump is just a temporary solution, to inspect or fix
other bugs related to Gnome. David is working on this, I will let him
decide if he wants to apply this patch or let it as it...

Thank you Lukasz!


>  #define MAX_USER_TOTAL_MSGS  (KDBUS_CONN_MAX_MSGS_UNACCOUNTED + \
>  				KDBUS_CONN_MAX_MSGS_PER_USER)
> diff --git a/test/test-policy-ns.c b/test/test-policy-ns.c
> index 3437012..3c8b78e 100644
> --- a/test/test-policy-ns.c
> +++ b/test/test-policy-ns.c
> @@ -38,7 +38,7 @@
>  #define MAX_CONN	64
>  #define POLICY_NAME	"foo.test.policy-test"
>  
> -#define KDBUS_CONN_MAX_MSGS_PER_USER            16
> +#define KDBUS_CONN_MAX_MSGS_PER_USER            128
>  
>  /**
>   * Note: this test can be used to inspect policy_db->talk_access_hash
> -- 
> 1.9.3
> 
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-- 
Djalal Harouni
http://opendz.org


More information about the systemd-devel mailing list