Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci committed Jan 14, 2017
1 parent 6dcbf4a commit 481baf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kcp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ func test(mode int) {
for {
time.Sleep(1 * time.Millisecond)
current = uint32(iclock())
kcp1.Update(uint32(iclock()))
kcp2.Update(uint32(iclock()))
kcp1.Update()
kcp2.Update()

// 每隔 20ms,kcp1发送数据
for ; current >= slap; slap += 20 {
Expand Down

0 comments on commit 481baf3

Please sign in to comment.