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

Deal with "infinite list" held by memorystream.cursor #238

Open
jmalloc opened this issue Apr 30, 2020 · 0 comments
Open

Deal with "infinite list" held by memorystream.cursor #238

jmalloc opened this issue Apr 30, 2020 · 0 comments

Comments

@jmalloc
Copy link
Member

jmalloc commented Apr 30, 2020

If you open a memory stream cursor and never close it, you are essentially holding the original head of the linked-list buffer, so you will keep those objects alive forever.

For the most case this doesn't really matter as the engine is in charge of its own consumers, but this is not true for the networkserver.

Ultimately we need some kind of timeout between calls to next, but I'm not sure how best to implement this yet.

@jmalloc jmalloc added this to the 1.0.0 - Production milestone Apr 30, 2020
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