mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix race in JobServer.HandleJobPanic (#24502)
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
This commit is contained in:
parent
afeeacb94a
commit
924cc0ec1a
@ -134,6 +134,10 @@ func (j *Job) InitLogger(logger mlog.LoggerIFace) {
|
||||
)
|
||||
}
|
||||
|
||||
func (j *Job) LogClone() any {
|
||||
return j.Auditable()
|
||||
}
|
||||
|
||||
type Worker interface {
|
||||
Run()
|
||||
Stop()
|
||||
|
Loading…
Reference in New Issue
Block a user