mirror of
https://github.com/neocities/neocities.git
synced 2026-05-26 15:48:55 +00:00
screenshot worker bugfix
This commit is contained in:
@@ -50,7 +50,8 @@ class ScreenshotWorker
|
||||
# :nocov:
|
||||
puts "#{username}/#{path} is timing out, discontinuing"
|
||||
site = Site[username: username]
|
||||
site.update is_crashing: true
|
||||
site.is_crashing = true
|
||||
site.save_changes validate: false
|
||||
|
||||
# Don't enable until we know it works well.
|
||||
=begin
|
||||
@@ -102,4 +103,4 @@ class ScreenshotWorker
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user