feat(utilities): EE support different requests
feat(utilities): EE redis-uws
This commit is contained in:
parent
899920c29d
commit
493e87a61b
2 changed files with 4 additions and 3 deletions
|
|
@ -59,7 +59,7 @@ const socketsList = async function (req, res) {
|
|||
wsRouter.get(`/${process.env.S3_KEY}/sockets-list`, socketsList);
|
||||
|
||||
const socketsListByProject = async function (req, res) {
|
||||
if (process.env.uws !== "true") {
|
||||
if (process.env.uws === "true") {
|
||||
req.params = {projectKey: req.getParameter(0)};
|
||||
}
|
||||
debug && console.log(`[WS]looking for available sessions for ${req.params.projectKey}`);
|
||||
|
|
@ -112,7 +112,7 @@ const socketsLive = async function (req, res) {
|
|||
wsRouter.get(`/${process.env.S3_KEY}/sockets-live`, socketsLive);
|
||||
|
||||
const socketsLiveByProject = async function (req, res) {
|
||||
if (process.env.uws !== "true") {
|
||||
if (process.env.uws === "true") {
|
||||
req.params = {projectKey: req.getParameter(0)};
|
||||
}
|
||||
debug && console.log(`[WS]looking for available LIVE sessions for ${req.params.projectKey}`);
|
||||
|
|
|
|||
|
|
@ -81,7 +81,8 @@ autoscaling:
|
|||
targetCPUUtilizationPercentage: 80
|
||||
# targetMemoryUtilizationPercentage: 80
|
||||
|
||||
env: {}
|
||||
env:
|
||||
REDIS_URL: "redis://redis-master.db.svc.cluster.local:6379"
|
||||
|
||||
|
||||
nodeSelector: {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue