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
0c0fb15f
authored
Aug 14, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
a2909cc6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
0 deletions
master/main/master.json.pro
worker/main/worker.json.pro
master/main/master.json.pro
0 → 100644
View file @
0c0fb15f
{
"API接口服务端口"
:
"提供任务增删改查服务"
,
"apiPort"
:
1989
,
"API接口读超时"
:
"单位是毫秒"
,
"apiReadTimeout"
:
5000
,
"API接口写超时"
:
"单位是毫秒"
,
"apiWriteTimeout"
:
5000
,
"etcd的集群列表"
:
"配置多个, 避免单点故障"
,
"etcdEndpoints"
:
[
"http://172.18.137.23:2379"
],
"etcd的连接超时"
:
"单位毫秒"
,
"etcdDialTimeout"
:
5000
,
"web页面根目录"
:
"静态页面,前后端分离开发"
,
"webroot"
:
"./webroot"
,
"mongodb地址"
:
"采用mongodb URI"
,
"mongodbUri"
:
"mongodb://ichunt:huntmon66499@172.18.137.23:27017/ichunt?authMechanism=SCRAM-SHA-1"
,
"mongodb连接超时时间"
:
"单位毫秒"
,
"mongodbConnectTimeout"
:
5000
}
\ No newline at end of file
worker/main/worker.json.pro
0 → 100644
View file @
0c0fb15f
{
"etcd的集群列表"
:
"配置多个, 避免单点故障"
,
"etcdEndpoints"
:
[
"http://172.18.137.23:2379"
],
"etcd的连接超时"
:
"单位毫秒"
,
"etcdDialTimeout"
:
5000
,
"mongodb地址"
:
"采用mongodb URI"
,
"mongodbUri"
:
"mongodb://ichunt:huntmon66499@172.18.137.23:27017/ichunt?authMechanism=SCRAM-SHA-1"
,
"mongodb连接超时时间"
:
"单位毫秒"
,
"mongodbConnectTimeout"
:
5000
,
"日志批次大小"
:
"为了减少mongodb网络往返, 打包成一批写入"
,
"jobLogBatchSize"
:
100
,
"日志自动提交超时"
:
"在批次未达到阀值之前, 超时会自动提交batch"
,
"jobLogCommitTimeout"
:
1000
,
"execCommand"
:
"/bin/bash"
}
\ 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