Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 937 for sekund (0.36 sec)

  1. cmd/handler-api.go

    	t.mu.RLock()
    	defer t.mu.RUnlock()
    
    	if t.requestsPool == nil {
    		return nil, 10 * time.Second
    	}
    
    	if t.requestsDeadline <= 0 {
    		return t.requestsPool, 10 * time.Second
    	}
    
    	return t.requestsPool, t.requestsDeadline
    }
    
    // maxClients throttles the S3 API calls
    func maxClients(f http.HandlerFunc) http.HandlerFunc {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

     * entire response body. If and when the client makes a subsequent request using a pooled socket the
     * server may not have had time to close the socket. The socket will be closed at an indeterminate
     * point before or during the second request. It may be closed after client has started sending the
     * request body. If a request body is not retryable then the client may fail the request, making
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    		checkEvery = 15 * time.Second
    
    		// If the disk has completed an operation successfully within last 5 seconds, don't check it.
    		skipIfSuccessBefore = 5 * time.Second
    	)
    
    	// if disk max timeout is smaller than checkEvery window
    	// reduce checks by a second.
    	if globalDriveConfig.GetMaxTimeout() <= checkEvery {
    		checkEvery = globalDriveConfig.GetMaxTimeout() - time.Second
    		if checkEvery <= 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileOutputStream.java

         * on an SMB server addressed by the <code>SmbFile</code> parameter. See
         * {@link jcifs.smb.SmbFile} for a detailed description and examples of
         * the smb URL syntax. If the second argument is <code>true</code>, then
         * bytes will be written to the end of the file rather than the beginning.
         * 
         * @param file
         *            An <code>SmbFile</code> representing the file to write to
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/background-tasks.md

    ```
    
    ## Adicionar a tarefa em segundo plano
    
    Dentro de sua _função de operação de caminho_, passe sua função de tarefa para o objeto _tarefas em segundo plano_ com o método `.add_task()`:
    
    ```Python hl_lines="14"
    {!../../../docs_src/background_tasks/tutorial001.py!}
    ```
    
    `.add_task()` recebe como argumentos:
    
    - Uma função de tarefa a ser executada em segundo plano (`write_notification`).
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon May 09 23:44:32 GMT 2022
    - 5.3K bytes
    - Viewed (0)
  6. internal/config/lambda/target/webhook.go

    		TotalRequests:  atomic.LoadInt64(&target.totalRequests),
    		FailedRequests: atomic.LoadInt64(&target.failedRequests),
    	}
    }
    
    // Send - sends an event to the webhook.
    func (target *WebhookTarget) Send(eventData event.Event) (resp *http.Response, err error) {
    	atomic.AddInt64(&target.activeRequests, 1)
    	defer atomic.AddInt64(&target.activeRequests, -1)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 17 20:02:26 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.ServerInfoAdminAction)
    	if objectAPI == nil {
    		return
    	}
    	const defaultMetricsInterval = time.Second
    
    	interval, err := time.ParseDuration(r.Form.Get("interval"))
    	if err != nil || interval < time.Second {
    		interval = defaultMetricsInterval
    	}
    
    	n, err := strconv.Atoi(r.Form.Get("n"))
    	if err != nil || n <= 0 {
    		n = math.MaxInt32
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  8. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      }
    
      /**
       * Test to ensure we throw a read timeout on responses that are progressing too slowly.  For this
       * case, we take a 2KiB body and throttle it to 1KiB/second.  We set the read timeout to half a
       * second.  If our implementation is acting correctly, it will throw, as a byte doesn't arrive in
       * time.
       */
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  9. cmd/peer-rest-client.go

    			select {
    			case <-ctx.Done():
    				return
    			default:
    				// There was error in the REST request, retry after sometime as probably the peer is down.
    				time.Sleep(5 * time.Second)
    			}
    		}
    	}()
    }
    
    // Trace - send http trace request to peer nodes
    func (client *peerRESTClient) Trace(ctx context.Context, traceCh chan<- []byte, traceOpts madmin.ServiceTraceOpts) {
    	go func() {
    		for {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-status-code.md

    * **`300`** and above are for "Redirection".  Responses with these status codes may or may not have a body, except for `304`, "Not Modified", which must not have one.
    * **`400`** and above are for "Client error" responses. These are the second type you would probably use the most.
        * An example is `404`, for a "Not Found" response.
        * For generic errors from the client, you can just use `400`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 29 14:02:58 GMT 2020
    - 4K bytes
    - Viewed (0)
Back to top