Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for quotaSize (0.04 sec)

  1. cmd/bucket-quota.go

    	}
    
    	q, err := sys.Get(ctx, bucket)
    	if err != nil {
    		return err
    	}
    
    	var quotaSize uint64
    	if q != nil && q.Type == madmin.HardQuota {
    		if q.Size > 0 {
    			quotaSize = q.Size
    		} else if q.Quota > 0 {
    			quotaSize = q.Quota
    		}
    	}
    	if quotaSize > 0 {
    		if uint64(size) >= quotaSize { // check if file size already exceeds the quota
    			return BucketQuotaExceeded{Bucket: bucket}
    		}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 06 23:48:58 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. cmd/veeam-sos-api.go

    		ci := capacityInfo{
    			Used: int64(binfo.Size),
    		}
    
    		var quotaSize int64
    		if q != nil && q.Type == madmin.HardQuota {
    			if q.Size > 0 {
    				quotaSize = int64(q.Size)
    			} else if q.Quota > 0 {
    				quotaSize = int64(q.Quota)
    			}
    		}
    
    		if quotaSize == 0 {
    			info := objAPI.StorageInfo(ctx, true)
    			info.Backend = objAPI.BackendInfo()
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 8.8K bytes
    - Viewed (0)
Back to top