Skip to content

Commit

Permalink
Fixed example
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 9, 2019
1 parent 0770bc8 commit aa968c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ import (
func main() {

// Create the pool and first connection
_ = cache.Connect("redis://localhost:6379", 0, 10, 0, 240)
_ = cache.Connect("redis://localhost:6379", 0, 10, 0, 240, true)

// Set a key
_ = cache.Set("key-name", "the-value", "dependent-key-1", "dependent-key-2")
Expand Down

0 comments on commit aa968c0

Please sign in to comment.