Class: Gitlab::HealthChecks::Server

Inherits:
Daemon
  • Object
show all
Defined in:
lib/gitlab/health_checks/server.rb

Instance Attribute Summary

Attributes inherited from Daemon

#thread

Instance Method Summary collapse

Methods inherited from Daemon

#enabled?, initialize_instance, instance, #start, #stop, #thread?, #thread_name

Constructor Details

#initialize(address:, port:, **options) ⇒ Server

Returns a new instance of Server.


8
9
10
11
12
13
# File 'lib/gitlab/health_checks/server.rb', line 8

def initialize(address:, port:, **options)
  super(**options)

  @address = address
  @port = port
end