Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
TarsWeb
Commits
5694826f
Unverified
Commit
5694826f
authored
4 years ago
by
Z.SX
Committed by
GitHub
4 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix: Router manage DB connection error
parent
60bea619
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dcache/routerManage/dao.js
+2
-2
dcache/routerManage/dao.js
with
2 additions
and
2 deletions
+2
-2
dcache/routerManage/dao.js
+
2
-
2
View file @
5694826f
...
...
@@ -33,7 +33,7 @@ const initDB = async (treeid) => {
let
result
=
dbTpl
[
DBInfo
.
router_db_name
]
||
''
if
(
!
result
){
const
config
=
{
host
:
DBInfo
.
server
_ip
,
host
:
DBInfo
.
router_db
_ip
,
database
:
DBInfo
.
router_db_name
,
port
:
DBInfo
.
router_db_port
,
user
:
DBInfo
.
router_db_user
,
...
...
@@ -212,4 +212,4 @@ module.exports = {
result
.
size
=
Math
.
floor
(
size
)
return
result
},
}
\ No newline at end of file
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help