update wss in commonfunctions automatically
This commit is contained in:
@@ -409,7 +409,7 @@ START /API/*
|
|||||||
|
|
||||||
var wss;
|
var wss;
|
||||||
|
|
||||||
const commonfunctions = {
|
var commonfunctions = {
|
||||||
increaseAPICall,
|
increaseAPICall,
|
||||||
increaseUSERCall,
|
increaseUSERCall,
|
||||||
increaseAccountAPICall,
|
increaseAccountAPICall,
|
||||||
@@ -1055,4 +1055,6 @@ wss.on("connection", function connection(ws) {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
commonfunctions.wss = wss
|
||||||
|
|
||||||
console.log(5,"starting up all services")
|
console.log(5,"starting up all services")
|
||||||
|
|||||||
Reference in New Issue
Block a user