Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Sep 10, 2024
Merged

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

merged 1 commit into from
Sep 10, 2024

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented Sep 10, 2024

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

cc @dhh

We'll fall back to the old filename if cache.yml doesn't exist.
@dhh
Copy link
Member

dhh commented Sep 10, 2024

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
Copy link
Contributor

@rosa

@djmb djmb merged commit 4a7e97d into main Sep 10, 2024
19 checks passed
@djmb djmb deleted the cache-yml branch September 10, 2024 18:06
rosa added a commit to rails/solid_queue that referenced this pull request Sep 10, 2024
Following Solid Cache's change in
rails/solid_cache#222.

As we aren't still in version 1.0, fine to do this as a breaking change
for now.
@rosa
Copy link
Member

rosa commented Sep 10, 2024

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

rosa added a commit to rails/solid_queue that referenced this pull request Sep 11, 2024
Following Solid Cache's change in
rails/solid_cache#222.

As we aren't still in version 1.0, fine to do this as a breaking change
for now.
rosa added a commit to rails/solid_queue that referenced this pull request Sep 11, 2024
Following Solid Cache's change in
rails/solid_cache#222.

As we aren't still in version 1.0, fine to do this as a breaking change
for now.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants