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

Rest-adapter: Instance cache lifetime #260

Closed
der-On opened this issue Apr 5, 2015 · 1 comment
Closed

Rest-adapter: Instance cache lifetime #260

der-On opened this issue Apr 5, 2015 · 1 comment
Assignees

Comments

@der-On
Copy link
Contributor

der-On commented Apr 5, 2015

The instance cache should have a lifetime so references to model instances get removed after a certain time to avoid memory leeks.

Maybe attach a timeout to each newly created model instance. After this timeout remove the reference.
If the model instance gets updated before the timeout, renew the timeout.

@der-On der-On self-assigned this Apr 5, 2015
@mde
Copy link
Contributor

mde commented Apr 5, 2015

👍

@der-On der-On closed this as completed in 8537540 Apr 8, 2015
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

2 participants