Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 964 for Enable (0.04 sec)

  1. cmd/config-current.go

    		callhomeCfg, err := callhome.LookupConfig(s[config.CallhomeSubSys][config.Default])
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to load callhome config: %w", err))
    		} else {
    			enable := callhomeCfg.Enable && !globalCallhomeConfig.Enabled()
    			globalCallhomeConfig.Update(callhomeCfg)
    			if enable {
    				initCallhome(ctx, objAPI)
    			}
    		}
    	case config.DriveSubSys:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 30.1K bytes
    - Viewed (0)
  2. internal/event/target/kafka.go

    	initScramClient(args, config) // initializes configured scram client.
    	config.Net.SASL.Enable = args.SASL.Enable
    
    	tlsConfig, err := saramatls.NewConfig(args.TLS.ClientTLSCert, args.TLS.ClientTLSKey)
    	if err != nil {
    		target.loggerOnce(context.Background(), err, target.ID().String())
    		return err
    	}
    
    	config.Net.TLS.Enable = args.TLS.Enable
    	config.Net.TLS.Config = tlsConfig
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. internal/config/callhome/callhome.go

    type Config struct {
    	// Flag indicating whether callhome is enabled.
    	Enable bool `json:"enable"`
    
    	// The interval between callhome cycles
    	Frequency time.Duration `json:"frequency"`
    }
    
    var configLock sync.RWMutex
    
    // Enabled - indicates if callhome is enabled or not
    func (c *Config) Enabled() bool {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	return c.Enable
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. internal/logger/config.go

    		if err := config.CheckValidKeys(subSysTarget, kv, DefaultLoggerWebhookKVS); err != nil {
    			return cfg, err
    		}
    		enableCfgVal := getCfgVal(EnvLoggerWebhookEnable, k, kv.Get(config.Enable))
    		enable, err := config.ParseBool(enableCfgVal)
    		if err != nil || !enable {
    			continue
    		}
    		var url *xnet.URL
    		endpoint := getCfgVal(EnvLoggerWebhookEndpoint, k, kv.Get(Endpoint))
    		url, err = xnet.ParseHTTPURL(endpoint)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 20 16:02:50 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

          --disable-libmpx \
          --enable-libsanitizer \
          --disable-libunwind-exceptions \
          --disable-libunwind-exceptions \
          --disable-lto \
          --disable-multilib \
          --enable-__cxa_atexit \
          --enable-gnu-indirect-function \
          --enable-gnu-unique-object \
          --enable-initfini-array \
          --enable-languages="c,c++" \
          --enable-linker-build-id \
          --enable-plugin \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. internal/config/notify/parse.go

    			queueDirEnv = queueDirEnv + config.Default + k
    		}
    
    		nsqArgs := target.NSQArgs{
    			Enable:      enabled,
    			NSQDAddress: *nsqdAddress,
    			Topic:       env.Get(topicEnv, kv.Get(target.NSQTopic)),
    			QueueDir:    env.Get(queueDirEnv, kv.Get(target.NSQQueueDir)),
    			QueueLimit:  queueLimit,
    		}
    		nsqArgs.TLS.Enable = env.Get(tlsEnableEnv, kv.Get(target.NSQTLS)) == config.EnableOn
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  7. internal/event/target/nsq.go

    	EnvNSQQueueLimit    = "MINIO_NOTIFY_NSQ_QUEUE_LIMIT"
    )
    
    // NSQArgs - NSQ target arguments.
    type NSQArgs struct {
    	Enable      bool      `json:"enable"`
    	NSQDAddress xnet.Host `json:"nsqdAddress"`
    	Topic       string    `json:"topic"`
    	TLS         struct {
    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. cmd/config-versions.go

    )
    
    // FileLogger is introduced to workaround the dependency about logrus
    type FileLogger struct {
    	Enable   bool   `json:"enable"`
    	Filename string `json:"filename"`
    }
    
    // ConsoleLogger is introduced to workaround the dependency about logrus
    type ConsoleLogger struct {
    	Enable bool `json:"enable"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. internal/http/dial_linux.go

    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_FASTOPEN_CONNECT, 1)
    
    			// Enable TCP quick ACK, John Nagle says
    			// "Set TCP_QUICKACK. If you find a case where that makes things worse, let me know."
    			_ = syscall.SetsockoptInt(fd, syscall.IPPROTO_TCP, unix.TCP_QUICKACK, 1)
    
    			/// Enable keep-alive
    			{
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_KEEPALIVE, 1)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 23 10:53:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

          --disable-lto \
          --disable-multilib \
          --enable-__cxa_atexit \
          --enable-gnu-indirect-function \
          --enable-gnu-unique-object \
          --enable-initfini-array \
          --enable-languages="c,c++" \
          --enable-linker-build-id \
          --enable-plugin \
          --enable-shared \
          --enable-threads=posix \
          --with-default-libstdcxx-abi=${LIBSTDCXX_ABI} \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top