graphql-live-query icon indicating copy to clipboard operation
graphql-live-query copied to clipboard

Leak?

Open mikecann opened this issue 3 years ago • 1 comments

Hey,

Im just wondering is there any way to set a TTL or some other functions to "clear old records" from the store? Im worried that having the store grow in definately will cause out of memory issues for us.

mikecann avatar Mar 06 '23 02:03 mikecann

Hello,

From reading the code quite a bit, I think old records are cleared either on an operation basis when the client sends some tear-down message with the operation id, or on a socket basis when it disconnects. Not sure what I'm missing here.

strblr avatar May 30 '23 03:05 strblr