1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-12-02 20:22:52 +00:00

more frequent keep alives, bigger default timeout

This commit is contained in:
2025-11-04 05:16:03 +01:00
parent 6531456bda
commit c01d9b4b17
2 changed files with 2 additions and 2 deletions

View File

@@ -335,7 +335,7 @@ func HandleChat(w http.ResponseWriter, r *http.Request) {
debug("handling request") debug("handling request")
go func() { go func() {
ticker := time.NewTicker(10 * time.Second) ticker := time.NewTicker(5 * time.Second)
for { for {
select { select {

2
env.go
View File

@@ -56,7 +56,7 @@ var env = Environment{
Settings: EnvSettings{ Settings: EnvSettings{
CleanContent: true, CleanContent: true,
ImageGeneration: true, ImageGeneration: true,
Timeout: 300, Timeout: 1200,
}, },
} }