Data being purged despite purge_keep_days

Despite my recorder config setting purge_keep_days to 180, my history only goes back exactly 7 days. Is there an additional setting that I need to apply to correct this?

This is my recorder config, and it’s been unchanged for months across multiple upgrades. Running the latest HA (2023.11.3).

recorder:
  db_url: mysql://<user>:<password>@core-mariadb/homeassistant?charset=utf8
  auto_purge: true
  purge_keep_days: 180
  commit_interval: 10