MCPcopy Index your code
hub / github.com/feast-dev/feast / flush_all

Method flush_all

sdk/python/feast/feature_server.py:1035–1042  ·  view source on GitHub ↗

Flush all buffers synchronously. Intended for graceful shutdown.

(self)

Source from the content-addressed store, hash-verified

1033 self._flush(key)
1034
1035 def flush_all(self) -> None:
1036 """
1037 Flush all buffers synchronously. Intended for graceful shutdown.
1038 """
1039 with self._lock:
1040 keys = list(self._buffers.keys())
1041 for key in keys:
1042 self._flush(key)
1043
1044 def shutdown(self, timeout: float = 5.0) -> None:
1045 """

Callers 1

shutdownMethod · 0.95

Calls 2

_flushMethod · 0.95
keysMethod · 0.80

Tested by

no test coverage detected