mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:31:18 +08: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