Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for dequeue (0.15 sec)

  1. internal/event/config.go

    	Events []Name `xml:"Event" json:"Event"`
    }
    
    // Queue - represents elements inside <QueueConfiguration>
    type Queue struct {
    	common
    	ARN ARN `xml:"Queue"`
    }
    
    // UnmarshalXML - decodes XML data.
    func (q *Queue) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    	type queue Queue
    	parsedQueue := queue{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
  2. internal/event/targetlist.go

    	list.totalEvents.Add(1)
    }
    
    func (list *TargetList) sendAsync(event Event, targetIDset TargetIDSet) {
    	select {
    	case list.queue <- asyncEvent{
    		ev:        event,
    		targetSet: targetIDset.Clone(),
    	}:
    	case <-list.ctx.Done():
    		list.eventsSkipped.Add(int64(len(list.queue)))
    		return
    	default:
    		list.eventsSkipped.Add(1)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. internal/event/target/mqtt.go

    	MqttUsername          = "username"
    	MqttPassword          = "password"
    	MqttReconnectInterval = "reconnect_interval"
    	MqttKeepAliveInterval = "keep_alive_interval"
    	MqttQueueDir          = "queue_dir"
    	MqttQueueLimit        = "queue_limit"
    
    	EnvMQTTEnable            = "MINIO_NOTIFY_MQTT_ENABLE"
    	EnvMQTTBroker            = "MINIO_NOTIFY_MQTT_BROKER"
    	EnvMQTTTopic             = "MINIO_NOTIFY_MQTT_TOPIC"
    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/event/target/amqp.go

    	QueueLimit        uint64   `json:"queueLimit"`
    }
    
    //lint:file-ignore ST1003 We cannot change these exported names.
    
    // AMQP input constants.
    const (
    	AmqpQueueDir   = "queue_dir"
    	AmqpQueueLimit = "queue_limit"
    
    	AmqpURL               = "url"
    	AmqpExchange          = "exchange"
    	AmqpRoutingKey        = "routing_key"
    	AmqpExchangeType      = "exchange_type"
    	AmqpDeliveryMode      = "delivery_mode"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 10K bytes
    - Viewed (0)
  5. internal/logger/help.go

    			Description: "Number of events per HTTP send to webhook target",
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         QueueSize,
    			Description: "configure channel queue size for webhook targets",
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         QueueDir,
    			Description: `staging dir for undelivered logger messages e.g. '/home/logger-events'`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 20:17:46 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. internal/event/target/postgresql.go

    	PostgresPort               = "port"
    	PostgresUsername           = "username"
    	PostgresPassword           = "password"
    	PostgresDatabase           = "database"
    	PostgresQueueDir           = "queue_dir"
    	PostgresQueueLimit         = "queue_limit"
    	PostgresMaxOpenConnections = "max_open_connections"
    
    	EnvPostgresEnable             = "MINIO_NOTIFY_POSTGRES_ENABLE"
    	EnvPostgresFormat             = "MINIO_NOTIFY_POSTGRES_FORMAT"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. internal/logger/target/kafka/kafka.go

    	"github.com/minio/minio/internal/logger/target/types"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v2/net"
    )
    
    // the suffix for the configured queue dir where the logs will be persisted.
    const kafkaLoggerExtension = ".kafka.log"
    
    const (
    	statusClosed = iota
    	statusOffline
    	statusOnline
    )
    
    // Config - kafka target arguments.
    type Config struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  8. cmd/peer-s3-client.go

    		// these could be stale buckets lying around, queue a heal
    		// of such a bucket. This is needed here as we identify such
    		// buckets here while listing buckets. As part of regular
    		// globalBucketMetadataSys.Init() call would get a valid
    		// buckets only and not the quourum lost ones like this, so
    		// explicit call
    		for bktName, count := range bucketsMap {
    			if count < quorum {
    				// Queue a bucket heal task
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. cmd/metacache-server-pool.go

    			skip = act.Delete() && !act.DeleteRestored()
    		}
    	}
    
    	fiv, err := obj.fileInfoVersions(o.Bucket)
    	if err != nil {
    		return
    	}
    
    	// Expire all versions if needed, if not attempt to queue for replication.
    	for _, version := range fiv.Versions {
    		objInfo := version.ToObjectInfo(o.Bucket, obj.name, versioned)
    
    		if o.Lifecycle != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  10. internal/logger/logrotate.go

    	// or when files are being rotated.
    	f *os.File
    
    	pw *xioutil.PipeWriter
    	pr *xioutil.PipeReader
    }
    
    // Write writes p into the current file, rotating if necessary.
    // Write is non-blocking, if the writer's queue is not full.
    // Write is blocking otherwise.
    func (w *Writer) Write(p []byte) (n int, err error) {
    	return w.pw.Write(p)
    }
    
    // Close closes the writer.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top