The setting is about vacuuming archived journal files. It is not
necessary to rotate the current journal. Note, journal file rotation is
controlled by MaxFileSec=.
Fixes #31315.
(cherry picked from commit
b63c18db03d0c120ba9eaa2aa9d0d43d80eea02b)
/* The retention time is reached, so let's vacuum! */
if (t <= 0) {
- log_info("Retention time reached, rotating.");
- server_rotate(s);
+ log_info("Retention time reached, vacuuming.");
server_vacuum(s, /* verbose = */ false);
continue;
}