Benign arch Download

lib/sidekiq/launcher.rb

Ruby subshell command executionReferences a public code-forge URL
SHA-2560c162c5f6cde1bc03e84d2fef47ad303bcd10b86cc626342e8ac76ae1ea6c278

Evidence

English function-word token "the" lines 1–13
⋯6 lines
7
8module Sidekiq
9 # The Launcher starts the Capsule Managers, the Poller thread and provides the process heartbeat.
10 class Launcher
11 include Sidekiq::Component
12
13 STATS_TTL …
English function-word token "have" lines 31–39
31:50… onfig)
32 @done = false
33 end
34
35 # Start this Sidekiq instance. If an embedding process already
36 # has a heartbeat thread, caller can use `async_beat: false`
37 # and instead have thread call Launcher#heartbeat every N seconds.
38 def run(async_beat: true)
39 Sidekiq.fre …
Creates a Ruby background thread lines 58–69
58:87… t]
59
60 quiet
61 stoppers = @managers.map do |mgr|
62 Thread.new do
63 mgr.stop(deadline)
64 end
⋯5 lines
References a public code-forge URL lines 217–225
217 If these values are close to 100,000, that means your Sidekiq process may be
218 CPU-saturated; reduce your concurrency and/or see https://github.com/sidekiq/sidekiq/discussions/5039
219 EOM
220 RTT_READINGS.reset
⋯5 lines
Ruby subshell command execution lines 231–242
231:3… end
232 }
233 when /darwin|bsd/
234 ->(pid) {
235 `ps -o pid,rss -p #{pid}`.lines.last.split.last.to_i
236 }
237 else
⋯5 lines

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.