Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. internal/logger/config.go

    		httpTimeoutCfgVal := getCfgVal(EnvLoggerWebhookHTTPTimeout, k, kv.Get(httpTimeout))
    		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.HTTP[k] = http.Config{
    			HTTPTimeout: httpTimeout,
    			Enabled:     true,
    			Endpoint:    url,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.7K 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 ...any) `json:"-"`
    }
    
    // Target implements logger.Target and sends the json
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  3. scripts/notify_translations.py

    class Settings(BaseSettings):
        model_config = {"env_ignore_empty": True}
    
        github_repository: str
        github_token: SecretStr
        github_event_path: Path
        github_event_name: Union[str, None] = None
        httpx_timeout: int = 30
        debug: Union[bool, None] = False
        number: int | None = None
    
    
    class PartialGitHubEventIssue(BaseModel):
        number: int | None = None
    
    
    class PartialGitHubEvent(BaseModel):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  4. scripts/people.py

    
    class DiscussionsResponse(BaseModel):
        data: DiscussionsResponseData
    
    
    class Settings(BaseSettings):
        github_token: SecretStr
        github_repository: str
        httpx_timeout: int = 30
        sleep_interval: int = 5
    
    
    def get_graphql_response(
        *,
        settings: Settings,
        query: str,
        after: Union[str, None] = None,
        category_id: Union[str, None] = None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top