Skip to content

Commit 63f015e

Browse files
authored
Merge pull request #438 from trycua/fixes/win-cloud-compat
Disable watchdog on Windows Cloud instances
2 parents e030940 + 4dfc8de commit 63f015e

File tree

1 file changed

+1
-1
lines changed
  • libs/python/computer-server/computer_server

1 file changed

+1
-1
lines changed

libs/python/computer-server/computer_server/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def main() -> None:
7272

7373
# Check if watchdog should be enabled
7474
container_name = os.environ.get("CONTAINER_NAME")
75-
enable_watchdog = args.watchdog or bool(container_name)
75+
enable_watchdog = (args.watchdog or bool(container_name)) and not sys.platform.startswith("win")
7676

7777
if container_name:
7878
logger.info(f"Container environment detected (CONTAINER_NAME={container_name}), enabling watchdog")

0 commit comments

Comments
 (0)