diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-10-16 22:58:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-10-16 22:58:07 +0200 |
commit | fb0951b02ebf51a93acf12721d8857d31ce57ba3 (patch) | |
tree | b9dd7a414d8a5a600d4b41e8e830faef7b6cf22a /src/journal/journal-vacuum.h | |
parent | 1f2da9ec5152cbf48c214969e079d9281ef68660 (diff) |
journal: implement time-based rotation/vacuuming
This also enables time-based rotation (but not vacuuming) after 1month,
so that not more one month of journal is lost at a time per vacuuming.
Diffstat (limited to 'src/journal/journal-vacuum.h')
-rw-r--r-- | src/journal/journal-vacuum.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-vacuum.h b/src/journal/journal-vacuum.h index 9841d72de8..f5e3e5291f 100644 --- a/src/journal/journal-vacuum.h +++ b/src/journal/journal-vacuum.h @@ -23,4 +23,4 @@ #include <inttypes.h> -int journal_directory_vacuum(const char *directory, uint64_t max_use, uint64_t min_free); +int journal_directory_vacuum(const char *directory, uint64_t max_use, uint64_t min_free, usec_t max_retention_usec, usec_t *oldest_usec); |