MCPcopy Create free account
hub / github.com/Boris-code/feapder / run

Method run

feapder/core/parser_control.py:476–490  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

474 self._item_buffer = item_buffer
475
476 def run(self):
477 while not self._thread_stop:
478 try:
479 request = self._memory_db.get()
480 if not request:
481 if not self.is_show_tip:
482 log.debug("等待任务...")
483 self.is_show_tip = True
484 continue
485
486 self.is_show_tip = False
487 self.deal_request(request)
488
489 except Exception as e:
490 log.exception(e)
491
492 def deal_request(self, request):
493 response = None

Callers

nothing calls this directly

Calls 4

deal_requestMethod · 0.95
debugMethod · 0.80
exceptionMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected