423baff73b
- Docker bridge 网络隔离(8000 端口封死) - Gunicorn 4 Worker 多进程 - Alembic 数据库迁移基线 - 日志轮转 20m×3 - JWT 密钥 + DB 密码 + CORS 收紧 - 3-2-1 备份链路(NAS + R740-B 冷备) - 连接池 pool_pre_ping + pool_recycle=3600
13 lines
325 B
Cython
13 lines
325 B
Cython
cdef class UVFSEvent(UVHandle):
|
|
cdef:
|
|
object callback
|
|
bint running
|
|
|
|
cdef _init(self, Loop loop, object callback, object context)
|
|
cdef _close(self)
|
|
cdef start(self, char* path, int flags)
|
|
cdef stop(self)
|
|
|
|
@staticmethod
|
|
cdef UVFSEvent new(Loop loop, object callback, object context)
|