🔨 Remove debug print

This commit is contained in:
Aykhan Shahsuvarov 2024-11-23 16:27:46 +04:00
parent 0335b5cf6e
commit bf169d3eb1

View File

@ -2,7 +2,6 @@ package requests
import ( import (
"context" "context"
"fmt"
"sync" "sync"
"time" "time"
@ -25,8 +24,6 @@ import (
// - Responses: A collection of responses from the executed requests. // - Responses: A collection of responses from the executed requests.
// - error: An error if the operation fails, such as no internet connection or an interrupt. // - error: An error if the operation fails, such as no internet connection or an interrupt.
func Run(ctx context.Context, requestConfig *config.RequestConfig) (Responses, error) { func Run(ctx context.Context, requestConfig *config.RequestConfig) (Responses, error) {
fmt.Println("No Proxy Check:", requestConfig.NoProxyCheck)
checkConnectionCtx, checkConnectionCtxCancel := context.WithTimeout(ctx, 8*time.Second) checkConnectionCtx, checkConnectionCtxCancel := context.WithTimeout(ctx, 8*time.Second)
if !checkConnection(checkConnectionCtx) { if !checkConnection(checkConnectionCtx) {
checkConnectionCtxCancel() checkConnectionCtxCancel()