code: def validation_queue_handler():
      try:
          while mv_constants.validation_queue_keep_running:
              request = mv_constants.validation_queue.get()
              if (
                  not isinstance(request, ValidationRequestController)
                  or request.cancelled
              ):
                  continue
              start = time.perf_counter()
              try:
                  validate_module(
                      request.pipeline,
                      request.module_num,
                      request.callback,
                  )
              except:
                  pass
              # Make sure this thread utilizes less than 1/2 of GIL clock
              wait_for = max(0.25, time.perf_counter() - start)
              time.sleep(wait_for)
      except:
          LOGGER.warning("Error in validation thread.", exc_info=True)
      LOGGER.info("Exiting the pipeline validation thread")
  
imports: import logging
  import threading
  import time
  import wx
  from cellprofiler_core.setting import ValidationError
  import cellprofiler.gui.constants.module_view
  from cellprofiler.gui.module_view._validation_request_controller import ValidationRequestController
label_desc: Use image node_id 28 for calling a global function with example usage: validation_queue_handler() without return types