Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Models (0.22 sec)

  1. internal/dsync/dsync_test.go

    )
    
    // TestMain initializes the testing framework
    func TestMain(m *testing.M) {
    	startLockServers()
    
    	// Initialize locker clients for dsync.
    	var clnts []NetLocker
    	for i := 0; i < len(nodes); i++ {
    		clnts = append(clnts, newClient(nodes[i].URL))
    	}
    
    	ds = &Dsync{
    		GetLockers: func() ([]NetLocker, string) { return clnts, uuid.New().String() },
    		Timeouts: Timeouts{
    			Acquire:         testDrwMutexAcquireTimeout,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  2. internal/event/target/kafka.go

    	EnvKafkaProducerCompressionCodec = "MINIO_NOTIFY_KAFKA_PRODUCER_COMPRESSION_CODEC"
    	EnvKafkaProducerCompressionLevel = "MINIO_NOTIFY_KAFKA_PRODUCER_COMPRESSION_LEVEL"
    )
    
    var codecs = map[string]sarama.CompressionCodec{
    	"none":   sarama.CompressionNone,
    	"gzip":   sarama.CompressionGZIP,
    	"snappy": sarama.CompressionSnappy,
    	"lz4":    sarama.CompressionLZ4,
    	"zstd":   sarama.CompressionZSTD,
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
Back to top