code: def process_command_thread(self, request):
          
          command, data = request
          if multi_thread_enabled():
              try:
                  self.process_command(command, data)
              except Exception as e:
                  _logger.exception(str(e))
                  raise
          else:
              pass
docs: Worker thread to process a command.