Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for http_timeout (0.23 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. internal/logger/help.go

    			Key:         RetryInterval,
    			Description: `sleep between each retries, allowed maximum value is '1m' e.g. '10s'`,
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         httpTimeout,
    			Description: `defines the maximum duration for each http request`,
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. .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)
  5. .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)
  6. CHANGELOG/CHANGELOG-1.19.md

         which can be configured separately per profile.
       - `.extenders` are updated to satisfy API standards. In particular:
         - `.extenders` decoding is case sensitive. All fields are affected.
         - `.extenders[*].httpTimeout` is of type `metav1.Duration`.
         - `.extenders[*].enableHttps` is renamed to `.extenders[*].enableHTTPS`.
       - `RequestedToCapacityRatio` args decoding is case sensitive. All fields are affected.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
Back to top