Make webhook calls async
This commit is contained in:
parent
ae1b23b022
commit
4ed2e02fef
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue