remove solid_queue
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,6 +6,7 @@
|
|||||||
|
|
||||||
# Ignore bundler config.
|
# Ignore bundler config.
|
||||||
/.bundle
|
/.bundle
|
||||||
|
vendor/gems
|
||||||
|
|
||||||
# Ignore all environment files.
|
# Ignore all environment files.
|
||||||
/.env*
|
/.env*
|
||||||
|
|||||||
6
Gemfile
6
Gemfile
@ -13,9 +13,9 @@ gem "jbuilder"
|
|||||||
|
|
||||||
gem "tzinfo-data", platforms: %i[ windows jruby ]
|
gem "tzinfo-data", platforms: %i[ windows jruby ]
|
||||||
|
|
||||||
gem "solid_cache"
|
#gem "solid_cache"
|
||||||
gem "solid_queue"
|
#gem "solid_queue"
|
||||||
gem "solid_cable"
|
#gem "solid_cable"
|
||||||
|
|
||||||
gem "bootsnap", require: false
|
gem "bootsnap", require: false
|
||||||
gem "kamal", require: false
|
gem "kamal", require: false
|
||||||
|
|||||||
30
Gemfile.lock
30
Gemfile.lock
@ -106,11 +106,6 @@ GEM
|
|||||||
ed25519 (1.4.0)
|
ed25519 (1.4.0)
|
||||||
erb (6.0.0)
|
erb (6.0.0)
|
||||||
erubi (1.13.1)
|
erubi (1.13.1)
|
||||||
et-orbi (1.4.0)
|
|
||||||
tzinfo
|
|
||||||
fugit (1.12.1)
|
|
||||||
et-orbi (~> 1.4)
|
|
||||||
raabro (~> 1.4)
|
|
||||||
globalid (1.3.0)
|
globalid (1.3.0)
|
||||||
activesupport (>= 6.1)
|
activesupport (>= 6.1)
|
||||||
i18n (1.14.7)
|
i18n (1.14.7)
|
||||||
@ -189,6 +184,8 @@ GEM
|
|||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
nokogiri (1.18.10-arm-linux-musl)
|
nokogiri (1.18.10-arm-linux-musl)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
|
nokogiri (1.18.10-arm64-darwin)
|
||||||
|
racc (~> 1.4)
|
||||||
nokogiri (1.18.10-x86_64-linux-gnu)
|
nokogiri (1.18.10-x86_64-linux-gnu)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
nokogiri (1.18.10-x86_64-linux-musl)
|
nokogiri (1.18.10-x86_64-linux-musl)
|
||||||
@ -212,7 +209,6 @@ GEM
|
|||||||
public_suffix (6.0.2)
|
public_suffix (6.0.2)
|
||||||
puma (7.1.0)
|
puma (7.1.0)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
raabro (1.4.0)
|
|
||||||
racc (1.8.1)
|
racc (1.8.1)
|
||||||
rack (3.2.4)
|
rack (3.2.4)
|
||||||
rack-session (2.1.1)
|
rack-session (2.1.1)
|
||||||
@ -299,26 +295,11 @@ GEM
|
|||||||
rexml (~> 3.2, >= 3.2.5)
|
rexml (~> 3.2, >= 3.2.5)
|
||||||
rubyzip (>= 1.2.2, < 4.0)
|
rubyzip (>= 1.2.2, < 4.0)
|
||||||
websocket (~> 1.0)
|
websocket (~> 1.0)
|
||||||
solid_cable (3.0.12)
|
|
||||||
actioncable (>= 7.2)
|
|
||||||
activejob (>= 7.2)
|
|
||||||
activerecord (>= 7.2)
|
|
||||||
railties (>= 7.2)
|
|
||||||
solid_cache (1.0.10)
|
|
||||||
activejob (>= 7.2)
|
|
||||||
activerecord (>= 7.2)
|
|
||||||
railties (>= 7.2)
|
|
||||||
solid_queue (1.2.4)
|
|
||||||
activejob (>= 7.1)
|
|
||||||
activerecord (>= 7.1)
|
|
||||||
concurrent-ruby (>= 1.3.1)
|
|
||||||
fugit (~> 1.11)
|
|
||||||
railties (>= 7.1)
|
|
||||||
thor (>= 1.3.1)
|
|
||||||
sqlite3 (2.8.0-aarch64-linux-gnu)
|
sqlite3 (2.8.0-aarch64-linux-gnu)
|
||||||
sqlite3 (2.8.0-aarch64-linux-musl)
|
sqlite3 (2.8.0-aarch64-linux-musl)
|
||||||
sqlite3 (2.8.0-arm-linux-gnu)
|
sqlite3 (2.8.0-arm-linux-gnu)
|
||||||
sqlite3 (2.8.0-arm-linux-musl)
|
sqlite3 (2.8.0-arm-linux-musl)
|
||||||
|
sqlite3 (2.8.0-arm64-darwin)
|
||||||
sqlite3 (2.8.0-x86_64-linux-gnu)
|
sqlite3 (2.8.0-x86_64-linux-gnu)
|
||||||
sqlite3 (2.8.0-x86_64-linux-musl)
|
sqlite3 (2.8.0-x86_64-linux-musl)
|
||||||
sshkit (1.24.0)
|
sshkit (1.24.0)
|
||||||
@ -334,6 +315,7 @@ GEM
|
|||||||
thor (1.4.0)
|
thor (1.4.0)
|
||||||
thruster (0.1.16)
|
thruster (0.1.16)
|
||||||
thruster (0.1.16-aarch64-linux)
|
thruster (0.1.16-aarch64-linux)
|
||||||
|
thruster (0.1.16-arm64-darwin)
|
||||||
thruster (0.1.16-x86_64-linux)
|
thruster (0.1.16-x86_64-linux)
|
||||||
timeout (0.4.4)
|
timeout (0.4.4)
|
||||||
tsort (0.2.0)
|
tsort (0.2.0)
|
||||||
@ -367,6 +349,7 @@ PLATFORMS
|
|||||||
aarch64-linux-musl
|
aarch64-linux-musl
|
||||||
arm-linux-gnu
|
arm-linux-gnu
|
||||||
arm-linux-musl
|
arm-linux-musl
|
||||||
|
arm64-darwin-24
|
||||||
x86_64-linux
|
x86_64-linux
|
||||||
x86_64-linux-gnu
|
x86_64-linux-gnu
|
||||||
x86_64-linux-musl
|
x86_64-linux-musl
|
||||||
@ -385,9 +368,6 @@ DEPENDENCIES
|
|||||||
rails (~> 8.0.3)
|
rails (~> 8.0.3)
|
||||||
rubocop-rails-omakase
|
rubocop-rails-omakase
|
||||||
selenium-webdriver
|
selenium-webdriver
|
||||||
solid_cable
|
|
||||||
solid_cache
|
|
||||||
solid_queue
|
|
||||||
sqlite3 (>= 2.1)
|
sqlite3 (>= 2.1)
|
||||||
stimulus-rails
|
stimulus-rails
|
||||||
thruster
|
thruster
|
||||||
|
|||||||
@ -38,7 +38,7 @@ env:
|
|||||||
clear:
|
clear:
|
||||||
# Run the Solid Queue Supervisor inside the web server's Puma process to do jobs.
|
# Run the Solid Queue Supervisor inside the web server's Puma process to do jobs.
|
||||||
# When you start using multiple servers, you should split out job processing to a dedicated machine.
|
# When you start using multiple servers, you should split out job processing to a dedicated machine.
|
||||||
SOLID_QUEUE_IN_PUMA: true
|
SOLID_QUEUE_IN_PUMA: false
|
||||||
|
|
||||||
# Set number of processes dedicated to Solid Queue (default: 1)
|
# Set number of processes dedicated to Solid Queue (default: 1)
|
||||||
# JOB_CONCURRENCY: 3
|
# JOB_CONCURRENCY: 3
|
||||||
|
|||||||
@ -73,7 +73,7 @@ Rails.application.configure do
|
|||||||
MissionControl::Jobs.http_basic_auth_user = "dev"
|
MissionControl::Jobs.http_basic_auth_user = "dev"
|
||||||
MissionControl::Jobs.http_basic_auth_password = "secret"
|
MissionControl::Jobs.http_basic_auth_password = "secret"
|
||||||
|
|
||||||
config.active_job.queue_adapter = :solid_queue
|
# config.active_job.queue_adapter = :solid_queue
|
||||||
config.solid_queue.connects_to = { database: { writing: :queue } }
|
# config.solid_queue.connects_to = { database: { writing: :queue } }
|
||||||
config.solid_queue.silence_polling = true
|
# config.solid_queue.silence_polling = true
|
||||||
end
|
end
|
||||||
|
|||||||
@ -34,10 +34,10 @@ port ENV.fetch("PORT", 3000)
|
|||||||
plugin :tmp_restart
|
plugin :tmp_restart
|
||||||
|
|
||||||
# Run the Solid Queue supervisor inside of Puma for single-server deployments
|
# Run the Solid Queue supervisor inside of Puma for single-server deployments
|
||||||
plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"]
|
# plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"]
|
||||||
|
|
||||||
# Specify the PID file. Defaults to tmp/pids/server.pid in development.
|
# Specify the PID file. Defaults to tmp/pids/server.pid in development.
|
||||||
# In other environments, only set the PID file if requested.
|
# In other environments, only set the PID file if requested.
|
||||||
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
|
pidfile ENV["PIDFILE"] if ENV["PIDFILE"]
|
||||||
|
|
||||||
plugin :solid_queue
|
# plugin :solid_queue
|
||||||
|
|||||||
Reference in New Issue
Block a user