Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 261 - 270 of 283 for Background (0.08 seconds)

  1. fastapi/routing.py

                )
                if isinstance(raw_response, Response):
                    if raw_response.background is None:
                        raw_response.background = solved_result.background_tasks
                    response = raw_response
                else:
                    response_args: dict[str, Any] = {
                        "background": solved_result.background_tasks
                    }
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
  2. cmd/utils.go

    		CurvePreferences: crypto.TLSCurveIDs(),
    		TCPOptions:       globalTCPOptions,
    		EnableHTTP2:      false,
    	}
    
    	if clientCert != "" && clientKey != "" {
    		ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    		defer cancel()
    		transport, err := s.NewHTTPTransportWithClientCerts(ctx, clientCert, clientKey)
    		if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  3. cmd/api-response.go

    	if headersAlreadyWritten(w) {
    		return
    	}
    
    	if statusCode == 0 {
    		statusCode = 200
    	}
    	// Similar check to http.checkWriteHeaderCode
    	if statusCode < 100 || statusCode > 999 {
    		bugLogIf(context.Background(), fmt.Errorf("invalid WriteHeader code %v", statusCode))
    		statusCode = http.StatusInternalServerError
    	}
    	setCommonHeaders(w)
    	if mType != mimeNone {
    		w.Header().Set(xhttp.ContentType, string(mType))
    	}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:19 GMT 2025
    - 35K bytes
    - Click Count (0)
  4. cmd/erasure-healing.go

    			if disksToHealCount == 0 {
    				return result, fmt.Errorf("all drives had write errors, unable to heal %s/%s", bucket, object)
    			}
    		}
    	}
    
    	defer er.deleteAll(context.Background(), minioMetaTmpBucket, tmpID)
    
    	// Rename from tmp location to the actual location.
    	for i, disk := range outDatedDisks {
    		if disk == OfflineDisk {
    			continue
    		}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  5. cmd/encryption-v1.go

    		mac := hmac.New(sha256.New, key[:])
    		mac.Write([]byte(baseKey))
    		if _, err := sio.Encrypt(&buffer, bytes.NewReader(data), sio.Config{Key: mac.Sum(nil)}); err != nil {
    			logger.CriticalIf(context.Background(), errors.New("unable to encrypt using object key"))
    		}
    		return buffer.Bytes()
    	}
    }
    
    // metadataDecrypter reverses metadataEncrypter.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 38K bytes
    - Click Count (0)
  6. cmd/erasure-server-pool-decom.go

    	if idx < 0 {
    		return pi, errInvalidArgument
    	}
    	if idx+1 > len(z.serverPools) {
    		return pi, errInvalidArgument
    	}
    
    	info := z.serverPools[idx].StorageInfo(context.Background())
    	info.Backend = z.BackendInfo()
    
    	usableTotal := int64(GetTotalUsableCapacity(info.Disks, info))
    	usableFree := int64(GetTotalUsableCapacityFree(info.Disks, info))
    	return poolSpaceInfo{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 42.2K bytes
    - Click Count (1)
  7. cmd/object-api-utils.go

    			case disk.Total == 0:
    				errs = append(errs, fmt.Errorf("disk %s: total is zero", disk.Endpoint))
    			}
    		}
    		// Log disk errors.
    		peersLogIf(context.Background(), errors.Join(errs...))
    		return false, fmt.Errorf("not enough online disks to calculate the available space, need %d, found %d", (len(di)/2)+1, nDisks)
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 25 15:08:54 GMT 2025
    - 37.3K bytes
    - Click Count (0)
  8. CHANGELOG.md

        `module-info.java` files.
    
     *  Fix: Recover gracefully when worker threads are interrupted. When we introduced fast fallback in
        OkHttp 5.0, we started using background threads while connecting. Sadly that code didn't handle
        interruptions well. This is now fixed.
    
     *  Upgrade: [Kotlin 2.2.20][kotlin_2_2_20].
     *  Upgrade: [Okio 3.16.0][okio_3_16_0].
    
    
    ## Version 5.1.0
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 05 16:02:59 GMT 2025
    - 36.2K bytes
    - Click Count (2)
  9. cmd/notification.go

    			if client == nil {
    				return errPeerNotReachable
    			}
    			return client.LoadServiceAccount(ctx, accessKey)
    		}, idx, *client.host)
    	}
    	return ng.Wait()
    }
    
    // BackgroundHealStatus - returns background heal status of all peers
    func (sys *NotificationSys) BackgroundHealStatus(ctx context.Context) ([]madmin.BgHealState, []NotificationPeerErr) {
    	ng := WithNPeers(len(sys.peerClients))
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 46K bytes
    - Click Count (0)
  10. cmd/batch-handlers.go

    	}
    	if r.Target.Type == BatchJobReplicateResourceS3 || r.Source.Type == BatchJobReplicateResourceS3 {
    		opts.VersionID = ""
    	}
    	var uploadedParts []CompletePart
    	res, err := api.NewMultipartUpload(context.Background(), tgtBucket, tgtObject, opts)
    	if err != nil {
    		return err
    	}
    
    	defer func() {
    		if err != nil {
    			// block and abort remote upload upon failure.
    			attempts := 1
    			for attempts <= 3 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
Back to Top