Skip to content

Commit

Permalink
Run one WSGI process per Topology container (we will use Kubernetes r…
Browse files Browse the repository at this point in the history
…eplicas for load balancing)

This should avoid conflicts from concurrent git pulls, and give us
better metrics (since we'll have one `/metrics` endpoint per pod).
  • Loading branch information
matyasselmeci committed Mar 5, 2024
1 parent c74a016 commit 1bcf095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ LoadModule wsgi_module /usr/local/lib64/python3.9/site-packages/mod_wsgi/server/
WSGIPythonPath /app

# Run apps in separate processes to stop yaml.CSafeLoader import-time error
WSGIDaemonProcess topology home=/app processes=5
WSGIDaemonProcess topology home=/app
WSGIDaemonProcess topomerge home=/app

# vhost for topology, SSL terminated here (for gridsite auth)
Expand Down

0 comments on commit 1bcf095

Please sign in to comment.