Skip to content

Commit

Permalink
remove loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
alvin-reyes committed Apr 14, 2023
1 parent d198825 commit 0384117
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions jobs/upload_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,8 @@ func (r *UploadToEstuaryProcessor) Run() error {
req.Header.Set("Authorization", "Bearer "+r.Content.RequestingApiKey)
client := &http.Client{}
var res *http.Response
fmt.Println("Sending request to delta node")
for j := 0; j < maxRetries; j++ {
res, err = client.Do(req)
fmt.Println("Response from delta node: ", res)
if err != nil || res.StatusCode != http.StatusOK {
fmt.Printf("Error sending request (attempt %d): %v\n", j+1, err)
time.Sleep(retryInterval)
Expand Down

0 comments on commit 0384117

Please sign in to comment.