Added sleep constant
This commit is contained in:
@@ -34,7 +34,7 @@ func main() {
|
|||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
// processing buf here
|
// processing buf here
|
||||||
fmt.Println(len(buf), n)
|
fmt.Println(n)
|
||||||
time.Sleep(5 * time.Second)
|
time.Sleep(SLEEP_TIME)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user