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:
2
chat.go
2
chat.go
@@ -335,7 +335,7 @@ func HandleChat(w http.ResponseWriter, r *http.Request) {
|
||||
debug("handling request")
|
||||
|
||||
go func() {
|
||||
ticker := time.NewTicker(10 * time.Second)
|
||||
ticker := time.NewTicker(5 * time.Second)
|
||||
|
||||
for {
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user