1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Stabilize build.

This commit is contained in:
Vladimir Mihailenco
2015-12-22 11:44:49 +02:00
parent ee7c50149d
commit 36487d8462
6 changed files with 36 additions and 21 deletions

View File

@ -254,7 +254,7 @@ func ExamplePubSub_Receive() {
for i := 0; i < 2; i++ {
// ReceiveTimeout is a low level API. Use ReceiveMessage instead.
msgi, err := pubsub.ReceiveTimeout(100 * time.Millisecond)
msgi, err := pubsub.ReceiveTimeout(500 * time.Millisecond)
if err != nil {
panic(err)
}