Commit 79f9652a authored by Avleen Vig's avatar Avleen Vig

seed random

parent 9d2fd53d
......@@ -21,6 +21,7 @@ var hostname string
func init() {
log.Printf("publisher init\n")
hostname, _ = os.Hostname()
rand.Seed(time.Now().UnixNano())
}
func Publishv1(input chan []*FileEvent,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment