module

Accomplice::Windows::Service

Constants

DEFAULT_SHUTDOWN_TIMEOUT = 5.seconds

How long to wait by default before forcibly exiting the program when stopping the service

Class methods

shutdown_timeout

Returns how long to wait before forcibly exiting the program on service shutdown

Source
shutdown_timeout=(shutdown_timeout : Time::Span)

Sets how long to wait for a graceful shutdown to complete before stopping the service and forcibly exiting the process

Source