Merge pull request #10179 from demarches-simplifiees/reliable_fetch
Tech: ajoute la gem reliable-fetch vendored dans gitlab
This commit is contained in:
commit
783ae23428
4 changed files with 17 additions and 0 deletions
1
Gemfile
1
Gemfile
|
@ -39,6 +39,7 @@ gem 'flipper-ui'
|
||||||
gem 'fugit'
|
gem 'fugit'
|
||||||
gem 'geocoder'
|
gem 'geocoder'
|
||||||
gem 'geo_coord', require: "geo/coord"
|
gem 'geo_coord', require: "geo/coord"
|
||||||
|
gem 'gitlab-sidekiq-fetcher', require: 'sidekiq-reliable-fetch', git: 'https://github.com/demarches-simplifiees/reliable-fetch.git'
|
||||||
gem 'gon'
|
gem 'gon'
|
||||||
gem 'graphql', '2.0.24'
|
gem 'graphql', '2.0.24'
|
||||||
gem 'graphql-batch', '0.5.1'
|
gem 'graphql-batch', '0.5.1'
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
GIT
|
||||||
|
remote: https://github.com/demarches-simplifiees/reliable-fetch.git
|
||||||
|
revision: f547a270c402b0180091516d790434e83287fae7
|
||||||
|
specs:
|
||||||
|
gitlab-sidekiq-fetcher (0.11.0)
|
||||||
|
json (>= 2.5)
|
||||||
|
sidekiq (~> 7.0)
|
||||||
|
|
||||||
GIT
|
GIT
|
||||||
remote: https://github.com/heartcombo/devise.git
|
remote: https://github.com/heartcombo/devise.git
|
||||||
revision: edffc79bf05d7f1c58ba50ffeda645e2e4ae0cb1
|
revision: edffc79bf05d7f1c58ba50ffeda645e2e4ae0cb1
|
||||||
|
@ -861,6 +869,7 @@ DEPENDENCIES
|
||||||
fugit
|
fugit
|
||||||
geo_coord
|
geo_coord
|
||||||
geocoder
|
geocoder
|
||||||
|
gitlab-sidekiq-fetcher!
|
||||||
gon
|
gon
|
||||||
graphql (= 2.0.24)
|
graphql (= 2.0.24)
|
||||||
graphql-batch (= 0.5.1)
|
graphql-batch (= 0.5.1)
|
||||||
|
|
|
@ -263,3 +263,6 @@ EXPIRE_USER_DELETION_JOB_LIMIT=10000
|
||||||
|
|
||||||
# write anything to disable cron jobs
|
# write anything to disable cron jobs
|
||||||
CRON_JOBS_DISABLED=""
|
CRON_JOBS_DISABLED=""
|
||||||
|
|
||||||
|
# disable SIDEKIQ_RELIABLE_FETCH
|
||||||
|
# SKIP_RELIABLE_FETCH="true"
|
||||||
|
|
|
@ -15,6 +15,10 @@ if ENV.has_key?('REDIS_SIDEKIQ_SENTINELS')
|
||||||
password:,
|
password:,
|
||||||
role: :master
|
role: :master
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ENV['SKIP_RELIABLE_FETCH'].blank?
|
||||||
|
Sidekiq::ReliableFetch.setup_reliable_fetch!(config)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
Sidekiq.configure_client do |config|
|
Sidekiq.configure_client do |config|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue