Skip to content

Commit

Permalink
Log results of CLI script
Browse files Browse the repository at this point in the history
x
  • Loading branch information
janbaykara committed Feb 6, 2025
1 parent 3a2ecb0 commit 3079341
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hub/management/commands/autoscale_render_workers.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ def handle(self, *args, **options):

# Tell render
render = get_render_client()
render.post(
res = render.post(
f"/v1/services/{settings.RENDER_WORKER_SERVICE_ID}/scale",
json={"numInstances": new_worker_count},
)

logger.info(f"Render response: {res.json()}")

0 comments on commit 3079341

Please sign in to comment.