mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
Remove unused reset_all_stats(...).
This commit is contained in:
parent
e2387546fe
commit
ac42513da9
@ -59,10 +59,6 @@ class InvocationStatsService(InvocationStatsServiceBase):
|
|||||||
)
|
)
|
||||||
self._stats[graph_execution_state_id].add_node_execution_stats(node_stats)
|
self._stats[graph_execution_state_id].add_node_execution_stats(node_stats)
|
||||||
|
|
||||||
def reset_all_stats(self):
|
|
||||||
"""Zero all statistics"""
|
|
||||||
self._stats = {}
|
|
||||||
|
|
||||||
def reset_stats(self, graph_execution_id: str):
|
def reset_stats(self, graph_execution_id: str):
|
||||||
try:
|
try:
|
||||||
self._stats.pop(graph_execution_id)
|
self._stats.pop(graph_execution_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user