mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 09:12:35 +02:00
screenshot worker bugfix
This commit is contained in:
parent
941f809987
commit
81fa54cb53
1 changed files with 3 additions and 2 deletions
|
@ -50,7 +50,8 @@ class ScreenshotWorker
|
||||||
# :nocov:
|
# :nocov:
|
||||||
puts "#{username}/#{path} is timing out, discontinuing"
|
puts "#{username}/#{path} is timing out, discontinuing"
|
||||||
site = Site[username: username]
|
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.
|
# Don't enable until we know it works well.
|
||||||
=begin
|
=begin
|
||||||
|
@ -102,4 +103,4 @@ class ScreenshotWorker
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue