delivery chan should buffer one

This commit is contained in:
Ted Unangst 2019-10-16 02:35:47 -04:00
parent 881ef2e395
commit ec80662d2c
1 changed files with 1 additions and 1 deletions

View File

@ -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()