Closed
Description
I am trying to build a web server using this package and when i try to log hits into database too quickly i get the error:
packets.go:336: Busy buffer. Commands out of sync. Did you run multiple statements at once?
My code works fine untill i make too many requests too quickly... Whats going on here?
res, err := db.Exec("INSERT INTO hits VALUES('', ?, ?, ?, ?)", ipaddress, useragent, path, timestamp)