Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
姜枫
9 years ago
Commit
d58158dc4583f9fbb66039f6e014bb2aad6c2666
1 parent
ba0850d1
edit some config
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
3 deletions
config/common.js
process.json
config/common.js
View file @
d58158d
...
...
@@ -41,7 +41,7 @@ module.exports = {
udp
:
{
// send by udp
level
:
'debug'
,
// logger level
host
:
'192.168.102.162'
,
// influxdb host
port
:
'4444'
// influxdb port
port
:
'4444'
// influxdb port
},
console
:
{
level
:
'debug'
,
...
...
@@ -71,6 +71,13 @@ if (isProduction) {
Object
.
assign
(
module
.
exports
,
{
appName
:
'www.yohobuy.com for test'
,
useOneapm
:
true
,
useCache
:
true
useCache
:
true
,
memcache
:
{
master
:
[
'127.0.0.1:12111'
],
slave
:
[
'127.0.0.1:12112'
],
session
:
[
'127.0.0.1:12111'
],
timeout
:
1000
,
retries
:
0
}
});
}
}
\ No newline at end of file
...
...
process.json
0 → 100644
View file @
d58158d
{
"apps"
:
[
{
"name"
:
"yohobuy-node"
,
"script"
:
"app.js"
,
"instances"
:
"max"
,
"exec_mode"
:
"cluster"
,
"env"
:
{
"PORT"
:
6002
}
}
]
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment