Commit a2909cc6 by 孙龙

up

parent 58a69028
......@@ -3,3 +3,5 @@
/go.sum
/logs/*
/log/*
/master/main/master.json
/worker/main/worker.json
{
"API接口服务端口": "提供任务增删改查服务",
"apiPort": 8070,
"API接口读超时": "单位是毫秒",
"apiReadTimeout": 5000,
"API接口写超时": "单位是毫秒",
"apiWriteTimeout": 5000,
"etcd的集群列表": "配置多个, 避免单点故障",
"etcdEndpoints": ["192.168.2.232:2379"],
"etcd的连接超时": "单位毫秒",
"etcdDialTimeout": 5000,
"web页面根目录": "静态页面,前后端分离开发",
"webroot": "./webroot",
"mongodb地址": "采用mongodb URI",
"mongodbUri": "mongodb://ichunt:huntmon6699@192.168.1.237:27017/ichunt?authMechanism=SCRAM-SHA-1",
"mongodb连接超时时间": "单位毫秒",
"mongodbConnectTimeout": 5000
}
\ No newline at end of file
......@@ -2,7 +2,7 @@
主要负责接收后台对任务的管理 提供api接口
go run .\master\main\master.go -config= .\master\main\master.json
go run .\master\main\master.go -config=.\master\main\master.json
......
......@@ -15,7 +15,7 @@
"jobLogBatchSize": 100,
"日志自动提交超时": "在批次未达到阀值之前, 超时会自动提交batch",
"jobLogCommitTimeout": 1000
"jobLogCommitTimeout": 1000,
"execCommand": "C:\\\\cygwin64\\\\bin\\\\bash.exe"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment