From 88f4de6d59d5a16e45a3152611ac0a54939392d0 Mon Sep 17 00:00:00 2001
From: ahmedk <karim.ahmed@xfel.eu>
Date: Fri, 20 Aug 2021 14:08:05 +0200
Subject: [PATCH] update webservice yaml with new partitions currently
 hotpatched at production

---
 webservice/config/webservice.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/webservice/config/webservice.yaml b/webservice/config/webservice.yaml
index e0cdd1b50..26d74e07c 100644
--- a/webservice/config/webservice.yaml
+++ b/webservice/config/webservice.yaml
@@ -35,7 +35,7 @@ correct:
     cmd : >-
         python -m xfel_calibrate.calibrate {detector} CORRECT
         --slurm-scheduling {sched_prio}
-        --slurm-mem 750
+        --slurm-partition upex-middle
         --request-time {request_time}
         --slurm-name {action}_{instrument}_{detector}_{cycle}_p{proposal}_{runs}
         --report-to /gpfs/exfel/exp/{instrument}/{cycle}/p{proposal}/usr/Reports/{runs}/{det_instance}_{action}_{proposal}_{runs}_{time_stamp}
@@ -50,6 +50,7 @@ dark:
         python -m xfel_calibrate.calibrate {detector} DARK
         --concurrency-par karabo_da
         --slurm-scheduling {sched_prio}
+        --slurm-partition upex-high
         --request-time {request_time}
         --slurm-name {action}_{instrument}_{detector}_{cycle}_p{proposal}_{runs}
         --report-to /gpfs/exfel/d/cal/caldb_store/xfel/reports/{instrument}/{det_instance}/{action}/{action}_{proposal}_{runs}_{time_stamp}
-- 
GitLab