Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
go-crontab
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a2909cc6
authored
Aug 14, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
58a69028
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
2 deletions
.gitignore
master/main/master.json.bak
readme.md
worker/main/worker.json.bak
.gitignore
View file @
a2909cc6
...
...
@@ -3,3 +3,5 @@
/go.sum
/logs/*
/log/*
/master/main/master.json
/worker/main/worker.json
master/main/master.json.bak
0 → 100644
View file @
a2909cc6
{
"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
readme.md
View file @
a2909cc6
...
...
@@ -2,7 +2,7 @@
主要负责接收后台对任务的管理 提供api接口
go run .
\m
aster
\m
ain
\m
aster.go -config=
.
\m
aster
\m
ain
\m
aster.json
go run .
\m
aster
\m
ain
\m
aster.go -config=.
\m
aster
\m
ain
\m
aster.json
...
...
worker/main/worker.json.bak
View file @
a2909cc6
...
...
@@ -15,7 +15,7 @@
"jobLogBatchSize": 100,
"日志自动提交超时": "在批次未达到阀值之前, 超时会自动提交batch",
"jobLogCommitTimeout": 1000
"jobLogCommitTimeout": 1000
,
"execCommand": "C:\\\\cygwin64\\\\bin\\\\bash.exe"
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment