HomePhabricator
Diffusion Comm 1e8c15c7ef0f

[keyserver] Add param to getRetention to customize activity period being checked

Description

[keyserver] Add param to getRetention to customize activity period being checked

Summary: We want to introduce new metrics that check retention based on usage in the last week rather than usage in the last day. This will be handled in the next diff, but first we want to factor out the param.

Test Plan: Ran it on my personal server and confirmed that a message appeared with the correct metrics

Reviewers: varun, will

Reviewed By: varun

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D14040

Details

Provenance
ashoatAuthored on Nov 25 2024, 10:14 AM
Reviewer
varun
Differential Revision
D14040: [keyserver] Add param to getRetention to customize activity period being checked
Parents
rCOMMae963349d9b7: [lib] Introduce a restore flow flag
Branches
Unknown
Tags
Unknown