mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 09:20:19 +01:00
Remove libsignal shadow/bridge websocket infra.
This commit is contained in:
committed by
Michelle Tang
parent
83611414cc
commit
da5c8ff6ea
@@ -1036,20 +1036,6 @@ object RemoteConfig {
|
||||
BuildConfig.MESSAGE_BACKUP_RESTORE_ENABLED || value.asBoolean(false)
|
||||
}
|
||||
|
||||
/**
|
||||
* Percentage [0, 100] of web socket requests that will be "shadowed" by sending
|
||||
* an unauthenticated keep-alive via libsignal-net. Default: 0
|
||||
*/
|
||||
@JvmStatic
|
||||
@get:JvmName("libSignalWebSocketShadowingPercentage")
|
||||
val libSignalWebSocketShadowingPercentage: Int by remoteValue(
|
||||
key = "android.libsignalWebSocketShadowingPercentage",
|
||||
hotSwappable = false
|
||||
) { value ->
|
||||
val remote = value.asInteger(0)
|
||||
remote.coerceIn(0, 100)
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
val backgroundMessageProcessInterval: Long by remoteValue(
|
||||
key = "android.messageProcessor.alarmIntervalMins",
|
||||
|
||||
Reference in New Issue
Block a user