-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clear up all migrations and previous configurations in favour of the new ones.
- Loading branch information
Showing
19 changed files
with
205 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require_relative "../config/environment" | ||
require "solid_queue/cli" | ||
|
||
SolidQueue::Cli.start(ARGV) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
default: &default | ||
dispatchers: | ||
- polling_interval: 20 | ||
batch_size: 500 | ||
workers: | ||
- queues: "*" | ||
threads: 3 | ||
processes: <%= ENV.fetch("JOB_CONCURRENCY", 1) %> | ||
polling_interval: 10 | ||
|
||
development: | ||
<<: *default | ||
|
||
test: | ||
<<: *default | ||
|
||
production: | ||
<<: *default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
production: | ||
periodic_cleanup: | ||
class: DummyJob | ||
queue: background | ||
args: 1000 | ||
schedule: every hour | ||
periodic_post: | ||
command: "Post.create!(title: 'Hey')" | ||
priority: 2 | ||
schedule: at 5am every day |
This file was deleted.
Oops, something went wrong.
111 changes: 0 additions & 111 deletions
111
test/dummy/db/migrate/20230914113326_create_solid_queue_tables.solid_queue.rb
This file was deleted.
Oops, something went wrong.
21 changes: 0 additions & 21 deletions
21
test/dummy/db/migrate/20240806160416_create_recurring_tasks.solid_queue.rb
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
test/dummy/db/migrate/20240909204134_add_name_to_processes.solid_queue.rb
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
test/dummy/db/migrate/20240909204135_make_name_not_null.solid_queue.rb
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...grate/20240909204136_change_solid_queue_recurring_tasks_static_to_not_null.solid_queue.rb
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.