rails / solid_cache

A database-backed ActiveSupport::Cache::Store
MIT License
890 stars 63 forks source link

Default to cache.yml instead of solid_cache.yml #222

Closed djmb closed 2 months ago

djmb commented 2 months ago

We'll fall back to the old filename if cache.yml doesn't exist.

cc @dhh

dhh commented 2 months ago

Perfect. @rosapolis would be good to match this in Solid Queue. Was thinking about jobs.yml v queue.yml, and think I prefer queue.yml. You're configuring the queues themselves in that config, not the jobs. They live in app/jobs. And it'll match the config name we have for the dbs. Still fine to then keep bin/jobs to RUN jobs on those queues.

brunoprietog commented 2 months ago

@rosa

rosa commented 2 months ago

Thanks for the mention, @brunoprietog! @dhh got it! queue.yml it is.