Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
78324372
Commit
78324372
authored
Jul 02, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
6b6406ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
brg-queue-center/app/base/db/consumer.base.js
+1
-1
brg-queue-center/app/base/db/consumer/publicServiceAllocation/publicConsumer.js
+1
-1
brg-queue-center/app/config/settings.js
+5
-4
No files found.
brg-queue-center/app/base/db/consumer.base.js
View file @
78324372
...
...
@@ -21,7 +21,7 @@ class ConsumerBase {
counter
=
1
;
}
var
self
=
this
;
this
.
duplicateInstance
.
brpop
(
queuedName
,
108
00
,
async
function
(
err
,
repl
)
{
this
.
duplicateInstance
.
brpop
(
queuedName
,
36
00
,
async
function
(
err
,
repl
)
{
if
(
err
)
{
return
new
Error
(
'doConsumer brpop error :'
+
err
);
}
...
...
brg-queue-center/app/base/db/consumer/publicServiceAllocation/publicConsumer.js
View file @
78324372
...
...
@@ -18,7 +18,7 @@ class PublicConsumer extends ConsumerBase {
}
var
execResult
=
await
this
.
execPostByTimeOut
(
params
,
actionBody
.
pushUrl
);
var
tmpBody
=
{
"opTitle"
:
"队列推送数据记录
"
,
// N 操作的业务标题
"opTitle"
:
"队列推送数据记录
,推送地址:"
+
actionBody
.
pushUrl
,
// N 操作的业务标题
"identifyCode"
:
actionBody
.
identifyCode
||
""
,
// Y 操作的业务标识
"indexName"
:
"push-logs"
,
// Y es索引值,同一个项目用一个值
"messageBody"
:
params
,
...
...
brg-queue-center/app/config/settings.js
View file @
78324372
...
...
@@ -43,6 +43,7 @@ var settings = {
password
:
ENVINPUT
.
DB_PWD
,
config
:
{
host
:
ENVINPUT
.
DB_HOST
,
port
:
ENVINPUT
.
DB_PORT
,
dialect
:
'mysql'
,
operatorsAliases
:
false
,
pool
:
{
...
...
@@ -55,10 +56,10 @@ var settings = {
},
timezone
:
'+08:00'
,
debug
:
false
,
dialectOptions
:
{
requestTimeout
:
999999
,
// instanceName:'DEV'
}
//设置MSSQL超时时间
//
dialectOptions: {
//
requestTimeout: 999999,
//
// instanceName:'DEV'
//
} //设置MSSQL超时时间
},
};
}
...
...
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