renamed project to Bugis and switch from WSGI@uwsgi to ASGI@granian
Some checks failed
CI / Build pip package (push) Failing after 12s
CI / Build Docker image (push) Failing after 8s

This commit is contained in:
2024-10-20 16:21:30 +08:00
parent 49a9bad07f
commit 1a805039f1
25 changed files with 623 additions and 209 deletions

18
conf/log.yml Normal file
View File

@@ -0,0 +1,18 @@
version: 1
disable_existing_loggers: True
handlers:
console:
class : logging.StreamHandler
formatter: default
level : INFO
stream : ext://sys.stdout
formatters:
brief:
format: '%(message)s'
default:
format: '%(asctime)s %(levelname)-8s %(name)-15s %(threadName)s %(message)s'
datefmt: '%Y-%m-%d %H:%M:%S'
loggers:
root:
handlers: [console]
level: INFO

View File

@@ -1,8 +0,0 @@
[uwsgi]
#logformat = "%(proto) - %(method) %(uri) %(status) %(addr)
need-plugin=/usr/lib/uwsgi/python_plugin.so
need-plugin=/usr/lib/uwsgi/gevent3_plugin.so
socket = 0.0.0.0:1910
module = md2html.uwsgi_handler
virtualenv = /var/md2html/venv
gevent = 1000