Add sessionhandler.portal_disconnect_all to remove another needless call between server and portal on logout. This means logout from either side will clean up on the respective side and then inform the other side once, rather than triggering a return call.
This commit is contained in:
parent
8eb500f8e0
commit
86c970eb62
7 changed files with 54 additions and 9 deletions
|
|
@ -506,7 +506,7 @@ if WEBSERVER_ENABLED:
|
|||
# Start a django-compatible webserver.
|
||||
|
||||
from twisted.python import threadpool
|
||||
from evennia.server.webserver import DjangoWebRoot, WSGIWebServer, NonLoggingSite
|
||||
from evennia.server.webserver import DjangoWebRoot, WSGIWebServer, Website
|
||||
|
||||
# start a thread pool and define the root url (/) as a wsgi resource
|
||||
# recognized by Django
|
||||
|
|
@ -522,7 +522,7 @@ if WEBSERVER_ENABLED:
|
|||
# custom overloads
|
||||
web_root = WEB_PLUGINS_MODULE.at_webserver_root_creation(web_root)
|
||||
|
||||
web_site = NonLoggingSite(web_root, logPath=settings.HTTP_LOG_FILE)
|
||||
web_site = Website(web_root, logPath=settings.HTTP_LOG_FILE)
|
||||
|
||||
for proxyport, serverport in WEBSERVER_PORTS:
|
||||
# create the webserver (we only need the port for this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue