summaryrefslogtreecommitdiffstats
path: root/src/journal/journald-server.h
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2022-12-05 14:29:29 +0100
committerDaan De Meyer <daan.j.demeyer@gmail.com>2022-12-05 14:41:51 +0100
commitd9799ea2e2cbf4e67975e8184f4090d98ccf571f (patch)
tree75b180e54bb372c5405bf6ea3b92c2164d22c9e2 /src/journal/journald-server.h
parentacl-util: several cleanups (diff)
downloadsystemd-d9799ea2e2cbf4e67975e8184f4090d98ccf571f.tar.xz
systemd-d9799ea2e2cbf4e67975e8184f4090d98ccf571f.zip
journal: Use shared log ratelimit constant
Instead of maintaining two different constants, move the constant to journal-internal.h and share it between files.
Diffstat (limited to 'src/journal/journald-server.h')
-rw-r--r--src/journal/journald-server.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/journal/journald-server.h b/src/journal/journald-server.h
index fb512dcfeb..ee8f374190 100644
--- a/src/journal/journald-server.h
+++ b/src/journal/journald-server.h
@@ -20,8 +20,6 @@ typedef struct Server Server;
#include "time-util.h"
#include "varlink.h"
-#define JOURNALD_LOG_RATELIMIT ((const RateLimit) { .interval = 60 * USEC_PER_SEC, .burst = 3 })
-
typedef enum Storage {
STORAGE_AUTO,
STORAGE_VOLATILE,