Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 24 of 24 for queue_dir (0.05 sec)

  1. internal/store/batch_test.go

    	"time"
    )
    
    func TestBatchCommit(t *testing.T) {
    	defer func() {
    		if err := tearDownQueueStore(); err != nil {
    			t.Fatalf("Failed to tear down store; %v", err)
    		}
    	}()
    	store, err := setUpQueueStore(queueDir, 100)
    	if err != nil {
    		t.Fatalf("Failed to create a queue store; %v", err)
    	}
    
    	var limit uint32 = 100
    
    	batch := NewBatch[TestItem](BatchConfig[TestItem]{
    		Limit:         limit,
    		Store:         store,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. internal/logger/target/http/http.go

    	ClientCert  string            `json:"clientCert"`
    	ClientKey   string            `json:"clientKey"`
    	BatchSize   int               `json:"batchSize"`
    	QueueSize   int               `json:"queueSize"`
    	QueueDir    string            `json:"queueDir"`
    	MaxRetry    int               `json:"maxRetry"`
    	RetryIntvl  time.Duration     `json:"retryInterval"`
    	Proxy       string            `json:"string"`
    	Transport   http.RoundTripper `json:"-"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. internal/config/notify/parse.go

    		if err != nil {
    			return nil, err
    		}
    		kafkaArgs := target.KafkaArgs{
    			Enable:             enabled,
    			Brokers:            brokers,
    			Topic:              env.Get(topicEnv, kv.Get(target.KafkaTopic)),
    			QueueDir:           env.Get(queueDirEnv, kv.Get(target.KafkaQueueDir)),
    			QueueLimit:         queueLimit,
    			Version:            env.Get(versionEnv, kv.Get(target.KafkaVersion)),
    			BatchSize:          uint32(batchSize),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 47K bytes
    - Viewed (0)
  4. cmd/config-versions.go

    // ConsoleLogger is introduced to workaround the dependency about logrus
    type ConsoleLogger struct {
    	Enable bool `json:"enable"`
    }
    
    // serverConfigV33 is just like version '32', removes clientID from NATS and MQTT, and adds queueDir, queueLimit in all notification targets.
    type serverConfigV33 struct {
    	quick.Config `json:"-"` // ignore interfaces
    
    	Version string `json:"version"`
    
    	// S3 API configuration.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top