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:
parent
b405d65999
commit
10a329db51
1 changed files with 1 additions and 2 deletions
|
@ -30,6 +30,5 @@ func main() {
|
|||
if db != nil {
|
||||
db.Exec("USE `"+config.DBname+"`;")
|
||||
}
|
||||
go initServer()
|
||||
select {}
|
||||
initServer()
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue