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

Method run

feapder/buffer/request_buffer.py:75–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

73 )
74
75 def run(self):
76 self._thread_stop = False
77 while not self._thread_stop:
78 try:
79 self.__add_request_to_db()
80 except Exception as e:
81 log.exception(e)
82
83 tools.delay_time(1)
84
85 def stop(self):
86 self._thread_stop = True

Callers

nothing calls this directly

Calls 2

__add_request_to_dbMethod · 0.95
exceptionMethod · 0.80

Tested by

no test coverage detected