Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 460 for interval (0.15 sec)

  1. internal/config/api/api.go

    	EnvAPIStaleUploadsCleanupInterval = "MINIO_API_STALE_UPLOADS_CLEANUP_INTERVAL"
    	EnvAPIStaleUploadsExpiry          = "MINIO_API_STALE_UPLOADS_EXPIRY"
    	EnvAPIDeleteCleanupInterval       = "MINIO_API_DELETE_CLEANUP_INTERVAL"
    	EnvDeleteCleanupInterval          = "MINIO_DELETE_CLEANUP_INTERVAL"
    	EnvAPIODirect                     = "MINIO_API_ODIRECT"
    	EnvAPIDisableODirect              = "MINIO_API_DISABLE_ODIRECT"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  2. cmd/metrics-resource.go

    	Count uint64
    }
    
    func init() {
    	interval := fmt.Sprintf("%ds", int(resourceMetricsCollectionInterval.Seconds()))
    	resourceMetricsHelpMap = map[MetricName]string{
    		interfaceRxBytes:  "Bytes received on the interface in " + interval,
    		interfaceRxErrors: "Receive errors in " + interval,
    		interfaceTxBytes:  "Bytes transmitted in " + interval,
    		interfaceTxErrors: "Transmit errors in " + interval,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  3. internal/event/target/mqtt.go

    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    	"time"
    
    	mqtt "github.com/eclipse/paho.mqtt.golang"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    const (
    	reconnectInterval = 5 * time.Second
    	storePrefix       = "minio"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  4. internal/config/callhome/callhome.go

    		Key:   Frequency,
    		Value: "24h",
    	},
    }
    
    // callhomeCycleDefault is the default interval between two callhome cycles (24hrs)
    const callhomeCycleDefault = 24 * time.Hour
    
    // Config represents the subnet related configuration
    type Config struct {
    	// Flag indicating whether callhome is enabled.
    	Enable bool `json:"enable"`
    
    	// The interval between callhome cycles
    	Frequency time.Duration `json:"frequency"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. cmd/data-usage-cache_test.go

    			// what is in exp is in got
    			for k := range exp {
    				if exp[k] != got[k] {
    					t.Fatalf("interval %s: Expected %d values but got %d values\n", k, exp[k], got[k])
    				}
    			}
    			// what is absent in exp is absent in got too
    			for k := range got {
    				if _, ok := exp[k]; !ok && got[k] > 0 {
    					t.Fatalf("Unexpected interval: %s has value %d\n", k, got[k])
    				}
    			}
    		})
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. internal/config/heal/heal.go

    		bitrotCycle time.Duration
    	}
    }
    
    // BitrotScanCycle returns the configured cycle for the scanner healing
    // -1 for not enabled
    //
    //	0 for contiunous bitrot scanning
    //
    // >0 interval duration between cycles
    func (opts Config) BitrotScanCycle() (d time.Duration) {
    	configMutex.RLock()
    	defer configMutex.RUnlock()
    	return opts.cache.bitrotCycle
    }
    
    // Clone safely the heal configuration
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. internal/http/server.go

    	nextPollInterval := func() time.Duration {
    		// Add 10% jitter.
    		interval := pollIntervalBase + time.Duration(rand.Intn(int(pollIntervalBase/10)))
    		// Double and clamp for next time.
    		pollIntervalBase *= 2
    		if pollIntervalBase > shutdownPollIntervalMax {
    			pollIntervalBase = shutdownPollIntervalMax
    		}
    		return interval
    	}
    
    	// Wait for opened connection to be closed up to Shutdown timeout.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. internal/event/target/nats.go

    	"crypto/x509"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/url"
    	"os"
    	"path/filepath"
    
    	"github.com/google/uuid"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    	"github.com/nats-io/nats.go"
    	"github.com/nats-io/stan.go"
    )
    
    // NATS related constants
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. cmd/globals.go

    	"github.com/minio/minio/internal/config/cache"
    	"github.com/minio/minio/internal/config/callhome"
    	"github.com/minio/minio/internal/config/compress"
    	"github.com/minio/minio/internal/config/dns"
    	"github.com/minio/minio/internal/config/drive"
    	idplugin "github.com/minio/minio/internal/config/identity/plugin"
    	polplugin "github.com/minio/minio/internal/config/policy/plugin"
    	"github.com/minio/minio/internal/config/storageclass"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  10. cmd/signature-v4-parser.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"net/http"
    	"net/url"
    	"strings"
    	"time"
    
    	"github.com/minio/minio/internal/auth"
    	xhttp "github.com/minio/minio/internal/http"
    )
    
    // credentialHeader data type represents structured form of Credential
    // string from authorization header.
    type credentialHeader struct {
    	accessKey string
    	scope     struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
Back to top