Apache WSGI Settings
proin opened this issue · comments
Yeonghun Chae commented
- config.py: use SimpleSpawner (not support user tenant)
import os
import dizest
executable = '/home/season/anaconda3/envs/dizestserver/bin/python'
spawner_class = dizest.spawner.SimpleSpawner
def cwd(user_id):
return "/" + os.path.join("var", "www", "dizest", "storage", user_id)
- websrc/config/socket.py: use socketio threading setting
import season
app = season.stdClass()
app.cors_allowed_origins = "*"
app.async_handlers = True
app.always_connect = False
app.manage_session = True
app.async_mode = 'threading'
run = season.stdClass()