Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for http_timeout (0.1 sec)

  1. internal/logger/config.go

    		httpTimeout, err := time.ParseDuration(httpTimeoutCfgVal)
    		if err != nil {
    			return cfg, err
    		}
    		if httpTimeout < time.Second {
    			return cfg, fmt.Errorf("minimum value allowed for http_timeout is '1s': %s", httpTimeout)
    		}
    
    		cfg.AuditWebhook[k] = http.Config{
    			HTTPTimeout: httpTimeout,
    			Enabled:     true,
    			Endpoint:    url,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  2. internal/logger/target/http/http.go

    	MaxRetry    int               `json:"maxRetry"`
    	RetryIntvl  time.Duration     `json:"retryInterval"`
    	Proxy       string            `json:"string"`
    	Transport   http.RoundTripper `json:"-"`
    	HTTPTimeout time.Duration     `json:"httpTimeout"`
    
    	// Custom logger
    	LogOnceIf func(ctx context.Context, err error, id string, errKind ...interface{}) `json:"-"`
    }
    
    // Target implements logger.Target and sends the json
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. .github/actions/notify-translations/app/main.py

        data: AllDiscussionsData
    
    
    class Settings(BaseSettings):
        github_repository: str
        input_token: SecretStr
        github_event_path: Path
        github_event_name: Union[str, None] = None
        httpx_timeout: int = 30
        input_debug: Union[bool, None] = False
    
    
    class PartialGitHubEventIssue(BaseModel):
        number: int
    
    
    class PartialGitHubEvent(BaseModel):
        pull_request: PartialGitHubEventIssue
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. .github/actions/people/app/main.py

        user: SponsorsUser
    
    
    class SponsorsResponse(BaseModel):
        data: SponsorsResponseData
    
    
    class Settings(BaseSettings):
        input_token: SecretStr
        github_repository: str
        httpx_timeout: int = 30
    
    
    def get_graphql_response(
        *,
        settings: Settings,
        query: str,
        after: Union[str, None] = None,
        category_id: Union[str, None] = None,
    ) -> Dict[str, Any]:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:13:50 UTC 2024
    - 19.2K bytes
    - Viewed (1)
Back to top