fix(ops): pin TiTiler digest, GIST bbox indexes, single uvicorn worker
Pin titiler to the Pi-running digest, make workers=1 explicit for in-memory WS/layer caches, and add PostGIS GIST indexes for events/fires bbox pans without dropping the existing btree indexes.
This commit is contained in:
parent
ef27e13e50
commit
74722f7628
4 changed files with 63 additions and 2 deletions
|
|
@ -1992,4 +1992,4 @@ app.mount("/static", CachedStaticFiles(directory=str(STATIC_DIR)), name="static"
|
|||
|
||||
if __name__ == "__main__":
|
||||
import uvicorn
|
||||
uvicorn.run(app, host="0.0.0.0", port=8000)
|
||||
uvicorn.run(app, host="0.0.0.0", port=8000, workers=1) # single worker: in-memory WS/pubsub + layer caches
|
||||
|
|
|
|||
Loading…
Reference in a new issue