Class: Gitlab::Memory::Watchdog::Handlers::NullHandler
- Inherits:
-
Object
- Object
- Gitlab::Memory::Watchdog::Handlers::NullHandler
- Includes:
- Singleton
- Defined in:
- lib/gitlab/memory/watchdog/handlers/null_handler.rb
Overview
This handler does nothing. It returns ‘false` to indicate to the caller that the situation has not been dealt with so it will receive calls repeatedly if fragmentation remains high.
This is useful for “dress rehearsals” in production since it allows us to observe how frequently the handler is invoked before taking action.
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
16 17 18 19 |
# File 'lib/gitlab/memory/watchdog/handlers/null_handler.rb', line 16 def call # NOP false end |