code: def _get_insufficient_resources_warning_threshold() -> float:
      if _is_ray_cluster():
          return float(
              os.environ.get(
                  "TUNE_WARN_INSUFFICENT_RESOURCE_THRESHOLD_S_AUTOSCALER",
                  "60",
              )
          )
      else:
          # Set the default to 10s so that we don't prematurely determine that
          # a cluster cannot fulfill the resources requirements.
          # TODO(xwjiang): Change it back once #18608 is resolved.
          return float(
              os.environ.get(
                  "TUNE_WARN_INSUFFICENT_RESOURCE_THRESHOLD_S", "60"
              )
          )
  
file_path: ray/python/ray/tune/execution/insufficient_resources_manager.py
imports: import logging
  from functools import lru_cache
  import os
  import ray
  import time
  from typing import Dict, Optional, Tuple
  from ray.tune.execution.cluster_info import _is_ray_cluster
  from ray.tune.experiment import Trial
label_desc: Use image node_id 4 for calling a global function with example usage: _get_insufficient_resources_warning_threshold() and returns: float, float