Skip to content

Commit

Permalink
add a room push API, and support ensure push
Browse files Browse the repository at this point in the history
  • Loading branch information
liuding committed Feb 29, 2016
1 parent 08471f0 commit 3ce775c
Show file tree
Hide file tree
Showing 8 changed files with 925 additions and 653 deletions.
4 changes: 2 additions & 2 deletions benchmark/client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"encoding/binary"
"flag"
"fmt"
mrand "math/rand"
//mrand "math/rand"
"net"
"os"
"runtime"
Expand Down Expand Up @@ -98,7 +98,7 @@ func result() {
}

func startClient(key string, quit chan bool) {
time.Sleep(time.Duration(mrand.Intn(30)) * time.Second)
//time.Sleep(time.Duration(mrand.Intn(30)) * time.Second)

conn, err := net.Dial("tcp", os.Args[3])
if err != nil {
Expand Down
Loading

0 comments on commit 3ce775c

Please sign in to comment.