Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Manual Garbage Collection Should Reset Periodic GC Interval #4

Open
bonedaddy opened this issue Nov 30, 2019 · 0 comments
Open

Manual Garbage Collection Should Reset Periodic GC Interval #4

bonedaddy opened this issue Nov 30, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@bonedaddy
Copy link

When instantiating the datastore a goroutine is launched that performs periodic garbage collection. However the datastore also exposes a function that can be called to manually trigger garbage collection. In the event that this function is called, we should "reset" the periodic garbage collection timer. This can be done leveraging a channel.

@bonedaddy bonedaddy added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Nov 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant