You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This plugin makes an assumption that the RPC hook OnConfigurationChange is called only when this plugin's settings have changed, but it's called when any server config value is changed. The plugin creates a new legal hold job when this occurs.
The plugin should instead verify that one of its own plugin settings was changed in the process and then reconfigure itself.
A PR was raised to address this #47, but it may not be the right solution for the core concern here. The focus on this task should be on verifying the behavior of reconfiguring the job on config change, and ensure that it's resilient to being called potentially often.
This plugin makes an assumption that the RPC hook
OnConfigurationChange
is called only when this plugin's settings have changed, but it's called when any server config value is changed. The plugin creates a new legal hold job when this occurs.The plugin should instead verify that one of its own plugin settings was changed in the process and then reconfigure itself.
mattermost-plugin-legal-hold/server/plugin.go
Line 127 in 61943a3
mattermost-plugin-legal-hold/server/plugin.go
Lines 172 to 179 in 61943a3
The text was updated successfully, but these errors were encountered: