1
0
Fork 0
forked from External/ergo

clean up nested batch logic

This commit is contained in:
Shivaram Lingamneni 2023-06-01 04:43:13 -04:00
parent d082ec7ab9
commit 38a6d17ee5
5 changed files with 9 additions and 19 deletions

View file

@ -1059,7 +1059,7 @@ func (channel *Channel) replayHistoryItems(rb *ResponseBuffer, items []history.I
}
}
batchID := rb.StartNestedHistoryBatch(chname)
batchID := rb.StartNestedBatch(chname, "chathistory")
defer rb.EndNestedBatch(batchID)
for _, item := range items {