diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-12-05 14:29:29 +0100 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2022-12-05 14:41:51 +0100 |
commit | d9799ea2e2cbf4e67975e8184f4090d98ccf571f (patch) | |
tree | 75b180e54bb372c5405bf6ea3b92c2164d22c9e2 /src/journal/journald-server.h | |
parent | acl-util: several cleanups (diff) | |
download | systemd-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.h | 2 |
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, |