fix: reduce cProfile dump interval to 10s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -197,7 +197,7 @@ def main(argv: list[str] | None = None) -> int:
|
|||||||
|
|
||||||
prof = cProfile.Profile()
|
prof = cProfile.Profile()
|
||||||
prof_path = args.cprofile
|
prof_path = args.cprofile
|
||||||
prof_interval = 60 # dump every 60 seconds
|
prof_interval = 10 # dump every 10 seconds
|
||||||
prof_stop = threading.Event()
|
prof_stop = threading.Event()
|
||||||
|
|
||||||
def _periodic_dump():
|
def _periodic_dump():
|
||||||
|
|||||||
Reference in New Issue
Block a user