Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reconnectInterval (0.12 sec)

  1. internal/event/target/mqtt.go

    	xnet "github.com/minio/pkg/v3/net"
    )
    
    const (
    	reconnectInterval = 5 * time.Second
    	storePrefix       = "minio"
    )
    
    // MQTT input constants
    const (
    	MqttBroker            = "broker"
    	MqttTopic             = "topic"
    	MqttQoS               = "qos"
    	MqttUsername          = "username"
    	MqttPassword          = "password"
    	MqttReconnectInterval = "reconnect_interval"
    	MqttKeepAliveInterval = "keep_alive_interval"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. internal/config/notify/parse.go

    		if err != nil {
    			return nil, err
    		}
    
    		reconnectIntervalEnv := target.EnvMQTTReconnectInterval
    		if k != config.Default {
    			reconnectIntervalEnv = reconnectIntervalEnv + config.Default + k
    		}
    		reconnectInterval, err := time.ParseDuration(env.Get(reconnectIntervalEnv,
    			kv.Get(target.MqttReconnectInterval)))
    		if err != nil {
    			return nil, err
    		}
    
    		keepAliveIntervalEnv := target.EnvMQTTKeepAliveInterval
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
Back to top