code: def adjust_queue_size(self, number_of_workers=None):
      self.logger.debug(
          "HBMASTER: number of workers changed to %s"
          % str(number_of_workers)
      )
      with self.thread_cond:
          self.logger.debug("adjust_queue_size: lock accquired")
          if self.dynamic_queue_size:
              nw = (
                  self.dispatcher.number_of_workers()
                  if number_of_workers is None
                  else number_of_workers
              )
              self.job_queue_sizes = (
                  self.user_job_queue_sizes[0] + nw,
                  self.user_job_queue_sizes[1] + nw,
              )
              self.logger.info(
                  "HBMASTER: adjusted queue size to %s"
                  % str(self.job_queue_sizes)
              )
          self.thread_cond.notify_all()
  
imports: import os
  import threading
  import time
  import math
  import pdb
  import copy
  import logging
  import numpy
  from hpbandster.core.dispatcher import Dispatcher
  from hpbandster.core.result import Result
  from hpbandster.core.base_iteration import WarmStartIteration
label_desc: Use image node_id 6 for calling the Master obj's underlying member method code with example usage: obj.adjust_queue_size(number_of_workers) without return types