sd-varlink: scale down the limit of connections per UID to 128

1024 connections per UID is unnecessarily generous, so let's scale this
down a bit. D-Bus defaults to 256 connections per UID, but let's be even
more conservative and go with 128.
This commit is contained in:
Frantisek Sumsal
2026-04-12 13:57:39 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 043689f8e0
commit d9da339bf1
+1 -1
View File
@@ -39,7 +39,7 @@
#include "varlink-org.varlink.service.h"
#define VARLINK_DEFAULT_CONNECTIONS_MAX 4096U
#define VARLINK_DEFAULT_CONNECTIONS_PER_UID_MAX 1024U
#define VARLINK_DEFAULT_CONNECTIONS_PER_UID_MAX 128U
#define VARLINK_DEFAULT_TIMEOUT_USEC (45U*USEC_PER_SEC)
#define VARLINK_COLLECT_MAX 1024U