1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00

Make webhook calls async

This commit is contained in:
Chen-I Lim 2020-11-02 09:07:05 -08:00
parent ae1b23b022
commit 4ed2e02fef

View File

@ -44,7 +44,7 @@ func (a *App) InsertBlocks(blocks []model.Block) error {
return err
}
a.webhook.NotifyUpdate(block)
go a.webhook.NotifyUpdate(block)
}
a.wsServer.BroadcastBlockChangeToWebsocketClients(blockIDsToNotify)