Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
remove delay in response encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
farshidtz committed Mar 24, 2021
1 parent 2ed1331 commit 8aa7265
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions catalog/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"io/ioutil"
"log"
"net/http"
"time"

"github.com/gorilla/mux"
"github.com/linksmart/service-catalog/v3/utils"
Expand Down Expand Up @@ -387,7 +386,7 @@ func (a *HTTPAPI) GetAll(w http.ResponseWriter, req *http.Request) {
if err != nil {
log.Printf("ERROR writing HTTP response: %s", err)
}
time.Sleep(500 * time.Millisecond)
//time.Sleep(500 * time.Millisecond)
//flusher.Flush()
}

Expand Down

0 comments on commit 8aa7265

Please sign in to comment.