Delay the monitoring job by at least 1 minute after startup to avoid a race where the plugin hasn't fully yet deployed in a mostly disabled environment.
{
"timestamp": "2024-03-30 15:06:00.011 -03:00",
"level": "info",
"msg": "Delaying the Monitoring System Job until at least 1 minute after startup",
"caller": "app/plugin_api.go:1004",
"plugin_id": "com.mattermost.msteams-sync"
}
{
"timestamp": "2024-03-30 15:07:00.016 -03:00",
"level": "info",
"msg": "Running the Monitoring System Job",
"caller": "app/plugin_api.go:1004",
"plugin_id": "com.mattermost.msteams-sync"
}
Summary
Delay the monitoring job by at least 1 minute after startup to avoid a race where the plugin hasn't fully yet deployed in a mostly disabled environment.
Ticket Link
Fixes: https://mattermost.atlassian.net/browse/MM-57120