mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-05 12:14:59 +00:00
feat: Add configurable cache keepalive delay and pings option
This commit is contained in:
parent
674eb109c2
commit
e2dbfdc537
2 changed files with 2 additions and 1 deletions
|
@ -1207,6 +1207,7 @@ class Coder:
|
|||
return
|
||||
|
||||
delay = 5 * 60 - 5
|
||||
delay = float(os.environ.get("AIDER_CACHE_KEEPALIVE_DELAY", delay))
|
||||
self.next_cache_warm = time.time() + delay
|
||||
self.warming_pings_left = self.num_cache_warming_pings
|
||||
self.cache_warming_chunks = chunks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue