Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unreachable notificiations #4651

Conversation

peaklabs-dev
Copy link
Member

Changes

  • Fix: Unreachable notifications were sent even if the server was probably reachable and just had some minor temporary connection problems.
  • fix: duplicated ServerCheckJob in dev
  • Feat: New unreachable notification handling:
    • When a server becomes unreachable (is_reachable set to false), the first time is discarded and is_reachable is set back to true.
    • If the server is unreachable again 1min later (or 5min later for Cloud) set and checked via the ServerCheckJob, it will start 3 fast checks in 5s intervals (locally this will take 15s, remote servers will take about 15s each check so all 3 checks 45s).
    • If these 3 quick status checks also fail, we can be pretty sure that the server is probably offline and then we send out the unreachable notification.

Issues

andrasbacsai and others added 29 commits December 16, 2024 14:11
- Introduced `environment_uuid` as a required field in various API endpoints and schemas.
- Updated descriptions to clarify that either `environment_name` or `environment_uuid` must be provided.
- Modified routes and controller methods to accommodate the new UUID parameter.
- Adjusted frontend components to utilize `environment_uuid` for better consistency and clarity.
- Removed deprecated fields related to environment handling.

This change enhances the API's flexibility in identifying environments, improving overall usability.
…-route

Fix: Environment route now uses uuid
…up-notifications

Fix: Docker Cleanup schedule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants