lib/rocket_job/config.rb in rocketjob-3.2.1 vs lib/rocket_job/config.rb in rocketjob-3.3.0
- old
+ new
@@ -5,10 +5,10 @@
include Plugins::Document
# Returns the single instance of the Rocket Job Configuration for this site
# in a thread-safe way
def self.instance
- @@instance ||= begin
+ @instance ||= begin
first || create
rescue StandardError
# In case another process has already created the first document
first
end