Closed galme closed 4 years ago
Purpose of proposed changes
Proactive policy fetching implementation, recommended by RFC 8461.
Essential steps taken
A full cache update of policies is done at a specified schedule (default 1 day) in the background.
Policies are read async&batched (producer) and the update itself via network is async&throttled (consumer).
The base_cache interface is extended to account for the new feature.
A warning in logs is emitted when an update fails for a domain.
Added tests for the new feature and manual testing on my own server.
Thank you! Everything seems fine. I've posted comment with question if we can define grace_ratio as a float value.
grace_ratio
Released as version 0.8.0
0.8.0
Purpose of proposed changes
Proactive policy fetching implementation, recommended by RFC 8461.
Essential steps taken
A full cache update of policies is done at a specified schedule (default 1 day) in the background.
Policies are read async&batched (producer) and the update itself via network is async&throttled (consumer).
The base_cache interface is extended to account for the new feature.
A warning in logs is emitted when an update fails for a domain.
Added tests for the new feature and manual testing on my own server.