Remove rx send remote config and group send using rx always.

This commit is contained in:
Cody Henthorne
2024-06-18 12:03:12 -04:00
committed by Greyson Parrelli
parent 5ecf60a306
commit 3551e7ec00
3 changed files with 13 additions and 120 deletions

View File

@@ -144,8 +144,7 @@ public class ApplicationDependencyProvider implements AppDependencies.Provider {
provideGroupsV2Operations(signalServiceConfiguration).getProfileOperations(),
SignalExecutors.newCachedBoundedExecutor("signal-messages", ThreadUtil.PRIORITY_IMPORTANT_BACKGROUND_THREAD, 1, 16, 30),
ByteUnit.KILOBYTES.toBytes(256),
RemoteConfig.okHttpAutomaticRetry(),
RemoteConfig.useRxMessageSending());
RemoteConfig.okHttpAutomaticRetry());
}
@Override

View File

@@ -968,15 +968,6 @@ object RemoteConfig {
hotSwappable = true
)
/** Use Rx threading model to do sends. */
@JvmStatic
@get:JvmName("useRxMessageSending")
val useRxMessageSending: Boolean by remoteBoolean(
key = "android.rxMessageSend.2",
defaultValue = false,
hotSwappable = true
)
/** The lifespan of a linked device (i.e. the time it can be inactive for before it expires), in milliseconds. */
@JvmStatic
val linkedDeviceLifespan: Long by remoteValue(