This has the same rationale as
e03ebe77c. I don't know if this code
is being exercised anywhere, but I don't want to find out the hard way
that the answer is yes.
Refs #20137.
Arvados-DCO-1.1-Signed-off-by: Brett Smith <brett.smith@curii.com>
rescue => e
Rails.logger.info("reload_config: config file updated but could not be loaded: #{e}")
t_lastload = t
- continue
+ next
end
if hash == hash_lastload
# If we reloaded a new or updated file, but the content is
# identical, keep polling instead of restarting.
t_lastload = t
- continue
+ next
end
restartfile = Rails.root.join('tmp', 'restart.txt')