testing web integration
This commit is contained in:
1 parent
cad4ae65f7
commit
ae603d440c
3 files changed
+83
-1
No files matched your search
@@ -24,7 +24,7 @@ func SSEHandler(w http.ResponseWriter, r *http.Request) {
|
||||
clientGone := r.Context().Done() // Channel to signal client disconnection
|
||||
|
||||
rc := http.NewResponseController(w)
|
||||
t := time.NewTicker(time.Second * 5)
|
||||
t := time.NewTicker(time.Millisecond * 1000)
|
||||
defer t.Stop()
|
||||
for {
|
||||
select {
|
||||
|
||||
Reference in new issue
Block a user