1
This commit is contained in:
parent
d9b58760f1
commit
6259f74ec0
@ -1,7 +1,9 @@
|
|||||||
|
const metaFactory = require('../metadata/factory');
|
||||||
|
|
||||||
const redis = require("redis")
|
const redis = require("redis")
|
||||||
const REDIS_CONF = {
|
const REDIS_CONF = {
|
||||||
port: 6379,
|
port: metaFactory.getMetaByKey('GameRedis', '0')['port'],
|
||||||
host: '127.0.0.1'
|
host: metaFactory.getMetaByKey('GameRedis', '0')['host'],
|
||||||
}
|
}
|
||||||
|
|
||||||
class Redis {
|
class Redis {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user