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

Save the state of open threads between restarts #797

Closed
KrzysztofMadejski opened this issue Apr 12, 2019 · 2 comments
Closed

Save the state of open threads between restarts #797

KrzysztofMadejski opened this issue Apr 12, 2019 · 2 comments

Comments

@KrzysztofMadejski
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When I restart Matterbridge (to update configuration or update Matterbridge) the information about parent matched threads is lost and thread replies are sent as non-threaded messages.

Describe the solution you'd like
I'd like Matterbridge to be (optionally) able to save the state of matching threads. Most likely only recent ones in order not to grow indefinitely. The most simple solution would be to save the state in a file.

Describe alternatives you've considered
Hot reloading of configuration file if it changes. But it won't help in case of updating Matterbridge version.

@KrzysztofMadejski KrzysztofMadejski changed the title Save the state of open threads Save the state of open threads between restarts Apr 12, 2019
@patcon
Copy link
Contributor

patcon commented Apr 15, 2019

Didn't have time to finish, but there's a code-spike here for allowing different backends for cache, including persistent ones :) #541

@KrzysztofMadejski
Copy link
Contributor Author

Closing as duplicate then. :)

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