Add infrastructure for automated expiration of storage entries

This is used for backends that don't support expiration natively.
This commit is contained in:
Tim Wojtulewicz 2024-12-06 15:29:15 -07:00
parent 8dee733a7d
commit d07d27453a
12 changed files with 96 additions and 21 deletions

View file

@ -6210,6 +6210,14 @@ export {
};
}
module Storage;
export {
## The interval used by the storage framework for automatic expiration
## of elements in all backends that don't support it natively.
const expire_interval = 5.0 secs &redef;
}
module GLOBAL;
@load base/bif/event.bif