github.com/kaydxh/golang@v0.0.131/pkg/pool/taskqueue/taskqueue.proto (about) 1 syntax = "proto3"; 2 3 package go.pkg.pool.taskqueue; 4 import "google/protobuf/duration.proto"; 5 6 option go_package = "github.com/kaydxh/golang/pkg/pool/taskqueue;taskqueue"; 7 8 message TaskQueue { 9 bool enabled = 1; 10 11 uint32 worker_burst = 2; 12 uint32 fetcher_burst = 3; 13 14 google.protobuf.Duration work_timeout = 4; 15 google.protobuf.Duration fetch_timeout = 5; 16 17 google.protobuf.Duration result_expired = 6; 18 19 QueueType queue_type = 7; 20 enum QueueType { queue_type_redis = 0; } 21 }