github.com/wfusion/gofusion@v1.1.14/test/lock/configs/app.yml (about) 1 base: 2 debug: false 3 app: gofusion 4 goroutine_pool: 5 max_routine_amount: -1 6 7 log: 8 default: 9 log_level: debug 10 stacktrace_level: error 11 shorter_filepath: true 12 enable_console_output: true 13 console_output_option: 14 layout: console 15 enable_file_output: false 16 file_output_option: 17 layout: json 18 path: . 19 name: gofusion.log 20 rotation_max_age: 24h 21 rotation_count: 10 22 rotation_size: 100mib 23 compress: false 24 25 db: 26 default: 27 driver: mysql 28 db: mysql 29 host: mysql 30 port: 3306 31 user: root 32 password: ci 33 timeout: 5s 34 read_timeout: 2s 35 write_timeout: 2s 36 max_idle_conns: 10 37 max_open_conns: 200 38 conn_max_life_time: 1000s 39 enable_logger: true 40 logger_config: 41 log_level: info 42 slow_threshold: 500ms 43 44 redis: 45 default: 46 db: 0 47 password: ci 48 cluster: false 49 endpoints: 50 - redis:6379 51 dial_timeout: 5s 52 read_timeout: 2s 53 write_timeout: 2s 54 min_idle_conns: 100 55 max_idle_conns: 10000 56 enable_logger: true 57 unloggable_commands: [echo,ping] 58 59 mongo: 60 default: 61 db: admin 62 auth_db: admin 63 user: root 64 password: ci 65 endpoints: 66 - mongo:27017 67 timeout: 5s 68 conn_timeout: 30s 69 socket_timeout: 5s 70 heartbeat_interval: 10s 71 max_connecting: 2 72 min_pool_size: 0 73 max_pool_size: 100 74 max_conn_idle_time: 10s 75 retry_writes: true 76 retry_reads: true 77 enable_logger: true 78 logger_config: 79 loggable_commands: [ ping,create,drop,insert,find,update,delete,aggregate,distinct,count,findAndModify,listCollections ] 80 log_instance: default 81 82 lock: 83 redis_lua: 84 type: redis_lua 85 instance: default 86 redis_nx: 87 type: redis_nx 88 instance: default 89 mysql: 90 type: mysql 91 instance: default 92 mongo: 93 type: mongo 94 instance: default 95 scheme: lock