mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: lint against Layout/EmptyLineBetweenDefs (#24914)
This commit is contained in:
@@ -8,6 +8,7 @@ class ThreadDetective
|
||||
def self.test_thread
|
||||
Thread.new { sleep 1 }
|
||||
end
|
||||
|
||||
def self.start(max_threads)
|
||||
@thread ||= Thread.new { self.new.monitor(max_threads) }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user