Skip to content

Commit

Permalink
Merge branch 'main' into fix-singular-table-names
Browse files Browse the repository at this point in the history
  • Loading branch information
m2meier authored Sep 22, 2024
2 parents e24c4c8 + eeb0d47 commit 9d22bf3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ There are several settings that control how Solid Queue works that you can set a

**This is not used for errors raised within a job execution**. Errors happening in jobs are handled by Active Job's `retry_on` or `discard_on`, and ultimately will result in [failed jobs](#failed-jobs-and-retries). This is for errors happening within Solid Queue itself.

- `connects_to`: a custom database configuration that will be used in the abstract `SolidQueue::Record` Active Record model. This is required to use a different database than the main app. For example:
- `use_skip_locked`: whether to use `FOR UPDATE SKIP LOCKED` when performing locking reads. This will be automatically detected in the future, and for now, you'd only need to set this to `false` if your database doesn't support it. For MySQL, that'd be versions < 8, and for PostgreSQL, versions < 9.5. If you use SQLite, this has no effect, as writes are sequential.
- `process_heartbeat_interval`: the heartbeat interval that all processes will follow—defaults to 60 seconds.
- `process_alive_threshold`: how long to wait until a process is considered dead after its last heartbeat—defaults to 5 minutes.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ActiveRecord::Schema[7.1].define(version: 2024_09_04_193154) do
create_table SolidQueue::BlockedExecution.table_name, force: :cascade do |t|
ActiveRecord::Schema[7.1].define(version: 1) do
create_table "solid_queue_blocked_executions", force: :cascade do |t|
t.bigint "job_id", null: false
t.string "queue_name", null: false
t.integer "priority", default: 0, null: false
Expand Down

0 comments on commit 9d22bf3

Please sign in to comment.