- Gunicorn production server with auto-scaled workers, run.sh, updated systemd service - Marketplace B2B: cross-tenant inventory search, ordering, seller management with full UI - Subscription billing: plan limits enforced on products/employees/branches, billing API + upgrade flow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
10
pos/gunicorn.conf.py
Normal file
10
pos/gunicorn.conf.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import multiprocessing
|
||||
|
||||
bind = "0.0.0.0:5001"
|
||||
workers = multiprocessing.cpu_count() * 2 + 1
|
||||
worker_class = "sync"
|
||||
timeout = 120
|
||||
keepalive = 5
|
||||
accesslog = "/var/log/nexus-pos/access.log"
|
||||
errorlog = "/var/log/nexus-pos/error.log"
|
||||
loglevel = "info"
|
||||
Reference in New Issue
Block a user