MCPcopy Create free account
hub / github.com/TheMariday/marimapper / update_timeout

Method update_timeout

marimapper/timeout_controller.py:27–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25 self.update_timeout()
26
27 def update_timeout(self):
28 if len(self._response_times) >= self._sample_size_min:
29 self.timeout = (
30 np.percentile(self._response_times, self._percentile) * self._multiplier
31 )

Callers 1

add_response_timeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected