Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor TTL esp in regards to templated scenes #6

Open
hi-liang opened this issue Feb 4, 2021 · 1 comment
Open

Refactor TTL esp in regards to templated scenes #6

hi-liang opened this issue Feb 4, 2021 · 1 comment

Comments

@hi-liang
Copy link
Member

hi-liang commented Feb 4, 2021

Splitting this one one off

Deal with TTL exception for templateScene, whereby expireAt is not set in the mongo document (what actually enforces expiry behavior in mongodb). Perhaps via flags where persist: true, ttl: n are set, but some new flag (retainTTL: true ?) does same bypass of expireAt so every time someone loads the scene from persist (or instantiates a sceneTemplate), the object is kept with a "fresh" TTL

Originally posted by @hiliang-cmu in #4 (comment)

@hi-liang
Copy link
Member Author

hi-liang commented Jan 7, 2025

Even worse wiith the ugly workaround to keep a Set of expirations, this should be redone to better handle time in an absolute manner, something previously avoided because of the lack of time sync.

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

No branches or pull requests

1 participant