mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2026-04-06 21:15:20 +02:00
fix: invalidate CK price cache after GitHub download so prices load without restart
Some checks are pending
CI / build (push) Waiting to run
Some checks are pending
CI / build (push) Waiting to run
This commit is contained in:
parent
6ecd45117f
commit
33aced3c97
9 changed files with 39 additions and 4 deletions
4
docs/releases/v4.6.3.md
Normal file
4
docs/releases/v4.6.3.md
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# MTG Python Deckbuilder v4.6.3
|
||||
|
||||
## Fixed
|
||||
- **CK prices not loading after GitHub cache download**: The `PriceService` singleton marks `_ck_loaded = True` as a graceful fallback when `ck_prices_cache.json` is absent at startup. If the file was then downloaded during a running container (via "Download from GitHub" or the orchestrator auto-download), the in-memory flag prevented it from ever being read. `PriceService.invalidate_ck_cache()` is now called after a successful download, forcing a reload on the next price request without requiring a container restart.
|
||||
Loading…
Add table
Add a link
Reference in a new issue