mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
feat: make the cache warming thread a daemon
This commit is contained in:
parent
75e8a38c3a
commit
ee11af11db
1 changed files with 1 additions and 0 deletions
|
@ -1032,6 +1032,7 @@ class Coder:
|
||||||
self.io.tool_output(f"Warmed {format_tokens(cache_hit_tokens)} cached tokens.")
|
self.io.tool_output(f"Warmed {format_tokens(cache_hit_tokens)} cached tokens.")
|
||||||
|
|
||||||
self.cache_warming_thread = threading.Timer(0, warm_cache_worker)
|
self.cache_warming_thread = threading.Timer(0, warm_cache_worker)
|
||||||
|
self.cache_warming_thread.daemon = True
|
||||||
self.cache_warming_thread.start()
|
self.cache_warming_thread.start()
|
||||||
|
|
||||||
return chunks
|
return chunks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue