github.com/wfusion/gofusion@v1.1.14/test/async/configs/app.yml (about) 1 base: 2 debug: false 3 app: gofusion 4 5 goroutine_pool: 6 max_routine_amount: -1 7 8 http: 9 port: 8080 10 cert: "" 11 key: "" 12 tls: false 13 next_protos: [http/1.1] 14 colorful_console: false 15 success_code: 0 16 pprof: false 17 read_timeout: 10s 18 write_timeout: 10s 19 xss_white_url_list: [ "" ] 20 asynq: 21 - path: /asynq 22 instance: default 23 instance_type: redis 24 prometheus_address: "" 25 26 log: 27 default: 28 log_level: info 29 stacktrace_level: error 30 shorter_filepath: true 31 enable_console_output: true 32 console_output_option: 33 layout: console 34 enable_file_output: false 35 file_output_option: 36 layout: json 37 path: . 38 name: gofusion.log 39 rotation_max_age: 24h 40 rotation_count: 10 41 rotation_size: 100mib 42 compress: false 43 44 db: 45 default: 46 driver: mysql 47 db: mysql 48 host: mysql 49 port: 3306 50 user: root 51 password: ci 52 timeout: 5s 53 read_timeout: 2s 54 write_timeout: 2s 55 max_idle_conns: 20 56 max_open_conns: 20 57 enable_logger: true 58 logger_config: 59 log_level: info 60 slow_threshold: 500ms 61 62 redis: 63 default: 64 db: 0 65 password: ci 66 cluster: false 67 endpoints: 68 - redis:6379 69 dial_timeout: 5s 70 read_timeout: 2s 71 write_timeout: 2s 72 min_idle_conns: 100 73 max_idle_conns: 10000 74 enable_logger: false 75 unloggable_commands: [echo,ping] 76 77 async: 78 default: 79 type: asynq 80 instance: default 81 instance_type: redis 82 producer: true 83 consumer: true 84 enable_logger: true 85 with_queues: 86 type: asynq 87 instance: default 88 instance_type: redis 89 producer: true 90 consumer: true 91 enable_logger: true 92 server_concurrency: 0 93 message_serialize_type: gob 94 message_compress_type: zstd 95 queues: 96 - name: gofusion:async:with_queues 97 level: 3 98 strict_priority: false 99 log_level: info 100 logger: github.com/wfusion/gofusion/log/customlogger.asyncLogger