modify
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# ip_sound_column Worker 插件配置
|
||||
|
||||
[worker]
|
||||
[worker.defaults]
|
||||
cacheable = false
|
||||
timeout = 30
|
||||
|
||||
[worker.registration]
|
||||
router_prefix = "/ip_sound_column"
|
||||
|
||||
# Worker 注册(app lifespan 据此发现并加载插件)
|
||||
[workers]
|
||||
cleanup = "cleanup"
|
||||
count = 1
|
||||
factory = "create_workers"
|
||||
module = "plugins.ip_sound_column"
|
||||
type = "ip_sound_column"
|
||||
|
||||
# 运行时配置(展平后传给 create_workers 的 config 参数)
|
||||
[workers.config]
|
||||
data_dir = "./data"
|
||||
ip = "172.19.11.244"
|
||||
volume = 50
|
||||
Reference in New Issue
Block a user