Class: HeyDoctor::CheckApplicationHealthService
- Inherits:
-
Object
- Object
- HeyDoctor::CheckApplicationHealthService
- Defined in:
- app/services/hey_doctor/check_application_health_service.rb
Constant Summary collapse
- SUCCESS =
{ success: true, message: 'Application is running' }.freeze
- ERROR =
{ success: false, message: 'Application down, call the firefighters' }.freeze
- START_COUNTER =
1
- DEFAULT_PORT =
ENV['RAILS_PORT'] || ENV['PORT']