Commit f3d11b4d authored by Pasan Mallawaarachchi's avatar Pasan Mallawaarachchi 💻

3 sec runtime

parent 23ec8c2a
...@@ -131,7 +131,7 @@ func main() { ...@@ -131,7 +131,7 @@ func main() {
if config.AppMod.Production == "0" { if config.AppMod.Production == "0" {
fmt.Println("Starting the Email Manager...") fmt.Println("Starting the Email Manager...")
} }
time.Sleep(time.Millisecond * 5000) time.Sleep(time.Millisecond * 300)
mailData = make(chan string) mailData = make(chan string)
outboxReadTime = make(chan string) outboxReadTime = make(chan string)
outboxDeleteTime = make(chan string) outboxDeleteTime = make(chan string)
...@@ -443,7 +443,7 @@ func worker(i int) { ...@@ -443,7 +443,7 @@ func worker(i int) {
} }
childs-- childs--
time.Sleep(time.Millisecond * 800) time.Sleep(time.Millisecond * 3000)
} }
} }
......
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