mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-07-25 10:25:19 +00:00
Remove ghost sync (#468)
* delete stale peers and messages from sync manager * ignore old announcenements
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package com.bitchat.android.util
|
||||
|
||||
/**
|
||||
* Centralized application-wide constants.
|
||||
*/
|
||||
object AppConstants {
|
||||
// Peer staleness threshold (ms). Keep consistent across mesh and sync layers.
|
||||
const val STALE_PEER_TIMEOUT_MS: Long = 180_000L // 3 minutes
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user