Don't forward batch tags

We don't want to have the batch tag when calling uc.produce, otherwise
downstream will end up with junk batch ids.
This commit is contained in:
Hubert Hirtz 2021-01-06 16:46:54 +01:00 committed by Simon Ser
parent 1110f39227
commit a747c732c0
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48

View file

@ -365,6 +365,7 @@ func (uc *upstreamConn) handleMessage(msg *irc.Message) error {
if label == "" { if label == "" {
label = msgBatch.Label label = msgBatch.Label
} }
delete(msg.Tags, "batch")
} }
var downstreamID uint64 = 0 var downstreamID uint64 = 0