Skip to content

Apache WSGI Settings #2

@proin

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions