feat(ingest): batch event writes and harden transport
This commit is contained in:
@@ -26,9 +26,5 @@ func (p *Publisher) Close() {
|
||||
}
|
||||
|
||||
func (p *Publisher) Publish(ctx context.Context, data []byte) error {
|
||||
ctx, cancel := context.WithTimeout(ctx, p.timeout)
|
||||
defer cancel()
|
||||
|
||||
_ = ctx
|
||||
return p.conn.Publish(p.topic, data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user