github.com/kaydxh/golang@v0.0.131/pkg/pool/taskqueue/taskq.yaml (about)

     1  database:
     2    redis:
     3      enabled: true
     4      addresses: 
     5        - "localhost:6380"
     6      password: ""
     7      db: 0 
     8      max_connections: 100
     9      max_idle_connections: 10
    10      dial_timeout: 5s
    11      max_wait_duration: 20s
    12      fail_after_duration: 300s
    13  
    14  taskqueue:
    15      enabled: true
    16      worker_burst: 8
    17      fetcher_burst: 8
    18      work_timeout: 0s
    19      fetch_timeout: 10s
    20      result_expired: 0s
    21      queue_type: queue_type_redis
    22