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

Method put_request

feapder/buffer/request_buffer.py:89–93  ·  view source on GitHub ↗
(self, request)

Source from the content-addressed store, hash-verified

87 self._started.clear()
88
89 def put_request(self, request):
90 self._requests_deque.append(request)
91
92 if self.get_requests_count() > MAX_URL_COUNT: # 超过最大缓存,主动调用
93 self.flush()
94
95 def put_del_request(self, request):
96 self._del_requests_deque.append(request)

Callers 10

__add_taskMethod · 0.45
deal_requestMethod · 0.45
deal_requestMethod · 0.45
distribute_taskMethod · 0.45
distribute_taskMethod · 0.45
distribute_taskMethod · 0.45
distribute_taskMethod · 0.45
_startMethod · 0.45
distribute_taskMethod · 0.45

Calls 2

get_requests_countMethod · 0.95
flushMethod · 0.95

Tested by

no test coverage detected