mirror of
https://github.com/aykhans/dodo.git
synced 2025-04-20 11:11:26 +00:00
🔨 Remove debug print
This commit is contained in:
parent
0335b5cf6e
commit
bf169d3eb1
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user