updated login/select
This commit is contained in:
@@ -2,6 +2,7 @@ from ApiLayers.AllConfigs import HostConfig
|
||||
|
||||
|
||||
class WagRedis:
|
||||
|
||||
REDIS_HOST = HostConfig.MAIN_HOST
|
||||
REDIS_PASSWORD: str = "commercial_redis_password"
|
||||
REDIS_PORT: int = 11222
|
||||
@@ -10,10 +11,8 @@ class WagRedis:
|
||||
@classmethod
|
||||
def as_dict(cls):
|
||||
return dict(
|
||||
host=WagRedis.REDIS_HOST,
|
||||
password=WagRedis.REDIS_PASSWORD,
|
||||
port=WagRedis.REDIS_PORT,
|
||||
db=WagRedis.REDIS_DB,
|
||||
host=WagRedis.REDIS_HOST, password=WagRedis.REDIS_PASSWORD,
|
||||
port=WagRedis.REDIS_PORT, db=WagRedis.REDIS_DB,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user