Skip to content

Commit

Permalink
hotfix: remove close pipeline (#50)
Browse files Browse the repository at this point in the history
Co-authored-by: Francisco <francisco.francisco@kumparan.com>
  • Loading branch information
zipzap11 and Francisco authored Apr 11, 2023
1 parent dd7360d commit 710e6cd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -565,10 +565,6 @@ func (k *keeper) StoreMultiHashMembers(ctx context.Context, mapIdentifiersToMemb
}

pipeline := k.connPool.TxPipeline()
defer func() {
err = pipeline.Close()
}()

for i, items := range mapIdentifiersToMembers {
for _, v := range items {
err = pipeline.HSet(ctx, i, v.GetKey(), v.GetValue()).Err()
Expand Down

0 comments on commit 710e6cd

Please sign in to comment.