exponential backoff is now just bees. did you want bees? no? well you have them now. congrats

This commit is contained in:
Jacob Taylor 2025-08-02 20:59:02 -07:00
commit 4baf48e214
4 changed files with 5 additions and 5 deletions

View file

@ -100,7 +100,7 @@ impl Service {
/// Pings the presence of the given user in the given room, setting the
/// specified state.
pub async fn ping_presence(&self, user_id: &UserId, new_state: &PresenceState) -> Result<()> {
const REFRESH_TIMEOUT: u64 = 60 * 1000;
const REFRESH_TIMEOUT: u64 = 60 * 1000 * 4;
let last_presence = self.db.get_presence(user_id).await;
let state_changed = match last_presence {