-
Notifications
You must be signed in to change notification settings - Fork 351
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
feat: Mark bridge unhealthy based on restart requests from endpoints #1210
Conversation
bgrozev
commented
Feb 12, 2025
- ref: Simplify code, order alphabetically.
- feat: Keep track of number of endpoints on each Bridge.
- feat: Mark bridge unhealthy based on restart requests from endpoints
jicofo-selector/src/main/kotlin/org/jitsi/jicofo/bridge/Bridge.kt
Outdated
Show resolved
Hide resolved
jicofo-selector/src/main/kotlin/org/jitsi/jicofo/bridge/Bridge.kt
Outdated
Show resolved
Hide resolved
jicofo-selector/src/main/kotlin/org/jitsi/jicofo/bridge/colibri/ColibriSessionManager.kt
Show resolved
Hide resolved
@@ -21,6 +21,7 @@ import com.typesafe.config.ConfigList | |||
import com.typesafe.config.ConfigObject | |||
import com.typesafe.config.ConfigValue | |||
import org.jitsi.config.JitsiConfig | |||
import org.jitsi.jicofo.bridge.BridgeConfig.Companion.BASE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused by this BASE vs. the BASE defined below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused too. It didn't need to be imported, removed. Not sure why ktlint didn't catch it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like a ktlint bug, it fails to detect an unused import when it's from the same package. I can repro with ktlint 1.5 (with and without maven), but if I isolate it to a trivial case it works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.