1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos synced 2026-06-18 04:40:03 +02:00

transport/redis_pubsub/publisher.go: Adding Close() method.

This commit is contained in:
Henrik Hautakoski 2023-03-29 11:51:15 +02:00
parent 6a5292da5e
commit 1de6cd9432

View file

@ -31,3 +31,7 @@ func (r *Publisher) Flush() error {
_, err := r.pipeline.Exec(r.ctx)
return err
}
func (r *Publisher) Close() error {
return r.pipeline.Close()
}