Compare commits
No commits in common. "7e7b4ea8f826425093ac0f68edeaad278f84ac99" and "ad9dfa44ca7609389009d1c16c88ae128e09dbd4" have entirely different histories.
7e7b4ea8f8
...
ad9dfa44ca
4
db.go
4
db.go
|
@ -8,6 +8,10 @@ import (
|
|||
"github.com/jackc/pgx/v5"
|
||||
)
|
||||
|
||||
var (
|
||||
connstring = "host=localhost user=steino dbname=dndmusicbot sslmode=disable"
|
||||
)
|
||||
|
||||
func init() {
|
||||
log.Println("db.go loading..")
|
||||
var err error
|
||||
|
|
|
@ -71,7 +71,7 @@ RETRY:
|
|||
|
||||
// FFmpeg requires a certain buffer size to start writing. This seems to be enough?
|
||||
// This will grow big enough to fit the whole song.
|
||||
ff.Out = bytes.NewBuffer(make([]byte, 128*1024))
|
||||
ff.Out = bytes.NewBuffer(make([]byte, 43920))
|
||||
ff.Cmd.Stdout = ff.Out
|
||||
|
||||
exitctx, cancel := context.WithTimeout(context.Background(), 2*time.Second)
|
||||
|
|
Loading…
Reference in New Issue