summaryrefslogtreecommitdiff
path: root/src/basic/def.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-02 09:34:05 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-02 23:44:05 +0100
commit19854865a877a3a4fa3d04550c15a99c0e1187ff (patch)
tree9065f0ddd30edb2b047c042cb72b3b0dce7f6eb7 /src/basic/def.h
parent9fe4ea21bec739bfe0ebac5565f0539b0e25b317 (diff)
core: bump net.unix.max_dgram_qlen really early during boot
Only that way it actually has an effect on all our sockets, including $NOTIFY_SOCKET.
Diffstat (limited to 'src/basic/def.h')
-rw-r--r--src/basic/def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/def.h b/src/basic/def.h
index 7c4161eb72..cbef137410 100644
--- a/src/basic/def.h
+++ b/src/basic/def.h
@@ -35,6 +35,9 @@
* the watchdog pings will keep the loop busy. */
#define DEFAULT_EXIT_USEC (30*USEC_PER_SEC)
+/* The default value for the net.unix.max_dgram_qlen sysctl */
+#define DEFAULT_UNIX_MAX_DGRAM_QLEN 512UL
+
#define SYSTEMD_CGROUP_CONTROLLER "name=systemd"
#define SIGNALS_CRASH_HANDLER SIGSEGV,SIGILL,SIGFPE,SIGBUS,SIGQUIT,SIGABRT