Skip to content

fix: refresh TotalDeposited TTL on portfolio read (Closes #316) - #351

Open
laurentketterle-hub wants to merge 1 commit into
Heliobond:mainfrom
laurentketterle-hub:fix/total-deposited-ttl-316
Open

fix: refresh TotalDeposited TTL on portfolio read (Closes #316)#351
laurentketterle-hub wants to merge 1 commit into
Heliobond:mainfrom
laurentketterle-hub:fix/total-deposited-ttl-316

Conversation

@laurentketterle-hub

Copy link
Copy Markdown

TotalDeposited lifetime analytics were only TTL-extended on deposit, so a one-time depositor's entry could be archived after ~30 days and get_portfolio would silently report zero. This refreshes the entry TTL on read (guarded by has()) so active investors keep their lifetime analytics intact.

Signed-off-by: laurentketterle-hub laurentketterle-hub@users.noreply.github.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant