drasticly increase timer safety margin
Some checks failed
ContinuousDelivery / linux-ubuntu (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android-23]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android-23]) (push) Has been cancelled
ContinuousDelivery / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android-23]) (push) Has been cancelled
ContinuousDelivery / windows (push) Has been cancelled
ContinuousDelivery / windows-asan (push) Has been cancelled
ContinuousDelivery / dumpsyms (push) Has been cancelled
ContinuousDelivery / release (push) Has been cancelled
ContinuousIntegration / linux (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:arm64-v8a vcpkg_toolkit:arm64-android-23]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:armeabi-v7a vcpkg_toolkit:arm-neon-android-23]) (push) Has been cancelled
ContinuousIntegration / android (map[ndk_abi:x86_64 vcpkg_toolkit:x64-android-23]) (push) Has been cancelled
ContinuousIntegration / macos (push) Has been cancelled
ContinuousIntegration / windows (push) Has been cancelled

This commit is contained in:
Green Sky 2025-05-06 15:39:07 +02:00
parent 3a929569ee
commit 0318a89f93
No known key found for this signature in database
GPG Key ID: DBE05085D874AB4A
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ bool ToxAvatarSender::onEvent(const ContactStore::Events::Contact4Update& e) {
_queue.erase(it);
} else if (it->ls != current_state) {
// state changed, reset timer
it->timer = 21.33f;
it->timer = 61.33f;
}
} else if (e.e.get<Contact::Components::ConnectionState>().state != Contact::Components::ConnectionState::disconnected) {
addToQueue(e.e);

View File

@ -24,7 +24,7 @@ class ToxAvatarSender : public ContactStore4EventI, public RegistryMessageModelE
struct Entry {
ContactHandle4 c;
Contact::Components::ConnectionState::State ls;
float timer {23.122f};
float timer {62.122f};
};
std::vector<Entry> _queue;