Commit 7109522e authored by Jordan Sissel's avatar Jordan Sissel

Merge pull request #78 from avleen/master

seed random
parents 9d2fd53d 79f9652a
......@@ -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