mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

It is possible to trigger the time.After case if the timer went off between time.After setting the timer for its channel and the time that select looked at the channel. So it needs to be longer. refer: https://groups.google.com/forum/#!topic/golang-nuts/1tjcV80ccq8
pkg/ is a collection of utility packages used by etcd without being specific to etcd itself. A package belongs here only if it could possibly be moved out into its own repository in the future.