devd: raise the maximum allowed client to 50

since the creation of libudev-devd, but also with powerd, recent libusb
changes etc. 10 client is not enough anymore to cover the desktop needs

and end users often ends up with:
sonewconn: pcb 0xfffff8004dd43780 (local:/var/run/devd.seqpacket.pipe)...

raise the maximum allowed client to 50, which should be enough to cover
user requirements.

MFC After:	1 week

(cherry picked from commit 5682eee1efd35fb65751641181ae2a50d86efaab)
This commit is contained in:
Baptiste Daroussin 2025-03-20 09:53:16 +01:00
parent 39775a21ad
commit 9157372d3e

View file

@ -939,7 +939,7 @@ create_socket(const char *name, int socktype)
return (fd);
}
static unsigned int max_clients = 10; /* Default, can be overridden on cmdline. */
static unsigned int max_clients = 50; /* Default, can be overridden on cmdline. */
static unsigned int num_clients;
static list<client_t> clients;