fix: clean up socketio dynamic namespaces
While serving many sites it's best to close down namespace when last connection is closed. refer https://github.com/socketio/socket.io/pull/4602
This commit is contained in:
parent
ec5f8fcfa1
commit
84188587fa
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ let io = new Server({
|
|||
origin: true,
|
||||
credentials: true,
|
||||
},
|
||||
cleanupEmptyChildNamespaces: true,
|
||||
});
|
||||
|
||||
// Multitenancy implementation.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue