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
721a265b
Commit
721a265b
authored
Mar 09, 2021
by
蒋勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
0be8c132
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletions
+34
-1
bigdata/app/base/db/cache.base.js
+1
-1
im-center/app/config/localsettings.js
+33
-0
No files found.
bigdata/app/base/db/cache.base.js
View file @
721a265b
...
...
@@ -31,7 +31,7 @@ class CacheBase {
await
this
.
redisClient
.
set
(
cachekey
,
objvalstr
);
}
//缓存当前应用所有的缓存key及其描述
this
.
redisClient
.
sadd
(
this
.
cacheCacheKeyPrefix
,
[
cachekey
+
"|"
+
this
.
desc
]);
//
this.redisClient.sadd(this.cacheCacheKeyPrefix, [cachekey + "|" + this.desc]);
return
JSON
.
parse
(
objvalstr
);
}
else
{
return
JSON
.
parse
(
cacheValue
);
...
...
im-center/app/config/localsettings.js
0 → 100644
View file @
721a265b
var
settings
=
{
redis
:
{
host
:
"192.168.4.119"
,
port
:
6379
,
password
:
"Gongsibao2018"
,
db
:
9
,
},
database
:
{
dbname
:
"im-center"
,
user
:
"write"
,
password
:
"write"
,
config
:
{
host
:
'43.247.184.35'
,
port
:
8899
,
dialect
:
'mysql'
,
operatorsAliases
:
false
,
pool
:
{
max
:
5
,
min
:
0
,
acquire
:
90000000
,
idle
:
1000000
},
debug
:
false
,
logging
:
false
,
dialectOptions
:
{
// requestTimeout: 999999,
// instanceName:'DEV'
}
//设置MSSQL超时时间
}
},
kongurl
:
'http://192.168.4.119:8001/'
,
};
module
.
exports
=
settings
;
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