MM-14357: Remove store call that can provoke dead locks (#10393)
* MM-14357: Remove store call that can provoke dead locks * Simplify query * Adding unit test
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
46a035df79
Коммит
43e6e261d6
@@ -167,9 +167,5 @@ func (a *App) finalizeImport(dryRun bool) *model.AppError {
|
||||
if dryRun {
|
||||
return nil
|
||||
}
|
||||
result := <-a.Srv.Store.Channel().ResetLastPostAt()
|
||||
if result.Err != nil {
|
||||
return result.Err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user