docs: pipeline documentation changed to "not thread(goroutines) safe"

Signed-off-by: monkey <golang@88.com>
This commit is contained in:
monkey 2023-01-21 19:01:53 +08:00
parent 6525bbbaa1
commit bc9216edb2
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@ type Pipeliner interface {
var _ Pipeliner = (*Pipeline)(nil) var _ Pipeliner = (*Pipeline)(nil)
// Pipeline implements pipelining as described in // Pipeline implements pipelining as described in
// http://redis.io/topics/pipelining. It's safe for concurrent use // http://redis.io/topics/pipelining.
// by multiple goroutines. // Please note: it is not safe for concurrent use by multiple goroutines.
type Pipeline struct { type Pipeline struct {
cmdable cmdable
statefulCmdable statefulCmdable