mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
worker name to LetsEncryptWorker
This commit is contained in:
parent
9ef69854ca
commit
3b193ed58e
2 changed files with 3 additions and 3 deletions
|
@ -243,7 +243,7 @@ post '/settings/:username/custom_domain' do
|
|||
|
||||
if @site.valid?
|
||||
@site.save_changes
|
||||
RequestSSLAuthWorker.perform_async @site.id
|
||||
LetsEncryptWorker.perform_async @site.id
|
||||
flash[:success] = 'The domain has been successfully updated.'
|
||||
redirect "/settings/#{@site.username}#custom_domain"
|
||||
else
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
class RequestSSLAuthWorker
|
||||
class LetsEncryptWorker
|
||||
class NotAuthorizedYetError < StandardError; end
|
||||
class VerificationTimeoutError < StandardError; end
|
||||
include Sidekiq::Worker
|
||||
sidekiq_options queue: :request_ssl_auth_worker, retry: 100, backtrace: true
|
||||
sidekiq_options queue: :lets_encrypt_worker, retry: 100, backtrace: true
|
||||
|
||||
sidekiq_retry_in do |count|
|
||||
180
|
||||
|
|
Loading…
Add table
Reference in a new issue