From 9974f5d29bf3781df6151b3569d74ba82589617b Mon Sep 17 00:00:00 2001 From: Diego Tavares Date: Thu, 20 Jun 2024 10:05:52 -0700 Subject: [PATCH] Ignore Free Temp logic on Windows hosts (#1385) The free temp logic is not working as intended on Windows, for now it is being disabled. There is an action item being worked on to document the stage of feature parity between Linux and Windows hosts. Co-authored-by: Ramon Figueiredo --- .../java/com/imageworks/spcue/dispatcher/HostReportHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuebot/src/main/java/com/imageworks/spcue/dispatcher/HostReportHandler.java b/cuebot/src/main/java/com/imageworks/spcue/dispatcher/HostReportHandler.java index 05a6e19b5..b7d39f8dd 100644 --- a/cuebot/src/main/java/com/imageworks/spcue/dispatcher/HostReportHandler.java +++ b/cuebot/src/main/java/com/imageworks/spcue/dispatcher/HostReportHandler.java @@ -365,7 +365,7 @@ private void changeHardwareState(DispatchHost host, HardwareState reportState, b Long minBookableFreeTempDir = env.getRequiredProperty("dispatcher.min_bookable_free_temp_dir_kb", Long.class); // Prevent cue frames from booking on hosts with full temporary directories - if (minBookableFreeTempDir != -1) { + if (minBookableFreeTempDir != -1 && !host.os.equalsIgnoreCase("Windows")) { if (host.hardwareState == HardwareState.UP && freeTempDir < minBookableFreeTempDir) { // Insert a comment indicating that the Host status = Repair with reason = Full temporary directory