Skip to content

Commit 1f77f54

Browse files
ponyisiBenGalewsky
authored andcommitted
Set 2GB memory requirement for transformers for testing
1 parent 4471d98 commit 1f77f54

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

servicex_app/servicex_app/transformer_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,8 @@ def create_job_object(request_id, image, rabbitmq_uri, workers,
217217
current_app.config['TRANSFORMER_PERSISTENCE_SUBDIR'])
218218

219219
resources = client.V1ResourceRequirements(
220-
limits={"cpu": current_app.config['TRANSFORMER_CPU_LIMIT']}
220+
limits={"cpu": current_app.config['TRANSFORMER_CPU_LIMIT'],
221+
"memory": "2Gi"}
221222
)
222223

223224
# Configure Pod template container

0 commit comments

Comments
 (0)