Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

请问SCUPLUS_JOB_CONF这个配置文件能分享一下吗? #59

Open
gogobody opened this issue Aug 20, 2019 · 6 comments
Open

请问SCUPLUS_JOB_CONF这个配置文件能分享一下吗? #59

gogobody opened this issue Aug 20, 2019 · 6 comments

Comments

@gogobody
Copy link

`panic: Open file error: open : The system cannot find the file specified.

goroutine 1 [running]:
github.com/mohuishou/scuplus-go/job.init.0()
E:/Projects/we川大/scuplus-go/job/job.go:20 +0x4a8
`

@mohuishou
Copy link
Owner

broker: 'redis://localhost:6379'
default_queue: machinery_tasks
result_backend: 'redis://localhost:6379'
results_expire_in: 3600
amqp:
  binding_key: machinery_task
  exchange: machinery_exchange
  exchange_type: direct
  prefetch_count: 3

@gogobody
Copy link
Author

想作为学习交流使用,奈何配置文件太多

2019/08/21 17:25:20 配置文件读取失败!open config.toml: The system cannot find the file specified.

@mohuishou
Copy link
Owner

这个看 config 目录就行了,总共就这两个配置

@2513400762
Copy link

“config.toml” 能分享下吗

@mohuishou
Copy link
Owner

“config.toml” 能分享下吗

和 config 目录下的结构体一一对应就行了

@2513400762
Copy link

好的,那个数据库结构有吗?已经跑起来了

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants