1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-09-16 07:56:24 -07:00

make it so initServer() doesn't spawn a new goroutine because that's pretty pointless

This commit is contained in:
Joshua Merrell 2014-01-31 17:18:21 -08:00
parent b405d65999
commit 10a329db51

View file

@ -30,6 +30,5 @@ func main() {
if db != nil {
db.Exec("USE `"+config.DBname+"`;")
}
go initServer()
select {}
initServer()
}