Skip to content

Commit ff7b431

Browse files
Prefer absolute constant references.
1 parent 44e0874 commit ff7b431

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

lib/async/service/controller.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ def self.warmup
2222
# Ignore.
2323
end
2424

25-
if Process.respond_to?(:warmup)
26-
Process.warmup
27-
elsif GC.respond_to?(:compact)
28-
3.times{GC.start}
29-
GC.compact
25+
if ::Process.respond_to?(:warmup)
26+
::Process.warmup
27+
elsif ::GC.respond_to?(:compact)
28+
3.times{::GC.start}
29+
::GC.compact
3030
end
3131
end
3232

0 commit comments

Comments
 (0)