season-framework / dizest

DIZEST: The Workflow Engine

Home Page:https://wiki.season.co.kr/w/dizest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apache WSGI Settings

proin opened this issue · comments

  • 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()