Skip to content

Commit d487aef

Browse files
committed
containers up for devcon
1 parent 8f44a43 commit d487aef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/apps/search_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@
2828
)
2929

3030
# Register SearchService with this app
31-
app.cls(cpu=2.0, memory=2048, timeout=60, scaledown_window=120)(SearchService)
31+
app.cls(cpu=2.0, memory=2048, timeout=60, scaledown_window=120, min_containers=1)(SearchService)

backend/apps/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
)
2525

2626

27-
@app.cls(cpu=2.0, memory=2048, timeout=120)
27+
@app.cls(cpu=2.0, memory=2048, timeout=120, min_containers=1)
2828
class Server(ServerService):
2929
"""Server with ASGI app for production deployment."""
3030

0 commit comments

Comments
 (0)