From 1f525e8f75cc1ee1e75f37c412ed5bf5647a77f4 Mon Sep 17 00:00:00 2001 From: samaradel Date: Thu, 12 Jun 2025 15:51:27 +0300 Subject: [PATCH 01/15] - Load all deployments in parallel - Handle migrations in parallel if needed - Add grid client cache - Add batch processing utility - Create grid clients in parallel with caching - Load contracts and node IDs in parallel for each machine - Process consumptions in batches - Process wireguard configs in batches --- .../src/components/vm_deployment_table.vue | 151 +++++------------- .../playground/src/utils/batch_process.ts | 13 ++ .../playground/src/utils/load_deployment.ts | 133 +++++++++------ 3 files changed, 133 insertions(+), 164 deletions(-) create mode 100644 packages/playground/src/utils/batch_process.ts diff --git a/packages/playground/src/components/vm_deployment_table.vue b/packages/playground/src/components/vm_deployment_table.vue index a170a637a3..80972ab605 100644 --- a/packages/playground/src/components/vm_deployment_table.vue +++ b/packages/playground/src/components/vm_deployment_table.vue @@ -1,33 +1,18 @@