Skip to content

Commit 9d22bf3

Browse files
authored
Merge branch 'main' into fix-singular-table-names
2 parents e24c4c8 + eeb0d47 commit 9d22bf3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ There are several settings that control how Solid Queue works that you can set a
226226

227227
**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.
228228

229-
- `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:
230229
- `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.
231230
- `process_heartbeat_interval`: the heartbeat interval that all processes will follow—defaults to 60 seconds.
232231
- `process_alive_threshold`: how long to wait until a process is considered dead after its last heartbeat—defaults to 5 minutes.

lib/generators/solid_queue/install/templates/db/queue_schema.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
ActiveRecord::Schema[7.1].define(version: 2024_09_04_193154) do
2-
create_table SolidQueue::BlockedExecution.table_name, force: :cascade do |t|
1+
ActiveRecord::Schema[7.1].define(version: 1) do
2+
create_table "solid_queue_blocked_executions", force: :cascade do |t|
33
t.bigint "job_id", null: false
44
t.string "queue_name", null: false
55
t.integer "priority", default: 0, null: false

0 commit comments

Comments
 (0)