mirror of
https://github.com/neocities/neocities.git
synced 2025-07-24 03:20:40 +02:00
Use http.rb to ensure timeout enforcement for cache purging, disable crashing flag for now
This commit is contained in:
parent
c3ea1fc9e4
commit
80b3f6b0be
3 changed files with 11 additions and 16 deletions
|
@ -83,9 +83,10 @@ class ScreenshotWorker
|
|||
|
||||
sidekiq_retries_exhausted do |msg|
|
||||
username, path = msg['args']
|
||||
site = Site[username: username]
|
||||
site.is_crashing = true
|
||||
site.save_changes validate: false
|
||||
# This breaks too much so we're disabling it.
|
||||
#site = Site[username: username]
|
||||
#site.is_crashing = true
|
||||
#site.save_changes validate: false
|
||||
|
||||
=begin
|
||||
if site.email
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue