delivery chan should buffer one
This commit is contained in:
parent
881ef2e395
commit
ec80662d2c
|
@ -108,7 +108,7 @@ func deliverate(goarounds int, username string, rcpt string, msg []byte) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var pokechan = make(chan int)
|
var pokechan = make(chan int, 1)
|
||||||
|
|
||||||
func getdoovers() []Doover {
|
func getdoovers() []Doover {
|
||||||
rows, err := stmtGetDoovers.Query()
|
rows, err := stmtGetDoovers.Query()
|
||||||
|
|
Loading…
Reference in New Issue