Kaiteki-Fedi / Kaiteki

The comfy SNS client for everything, everywhere
https://kaiteki.app
GNU Affero General Public License v3.0
488 stars 31 forks source link

notification api rate limit #516

Open oluceps opened 3 months ago

oluceps commented 3 months ago

description

Notification count keeps increasing and reaches rate limit (although hasn't so much notifications.

Screenshot_20240809-133545_Kaiteki.png

After seconds

Screenshot_20240809-133547_Kaiteki.png

stack trace

#0      MisskeyClient._checkResponse (package:kaiteki_core/src/social/backends/misskey/client.dart:313)
#1      KaitekiClient.sendRequest (package:kaiteki_core/src/http/client.dart:54)
<asynchronous suspension>
#2      KaitekiJsonDeserializationResopnseExtensions.fromResponseList.<anonymous closure> (package:kaiteki_core/src/http/extensions.dart:29)
<asynchronous suspension>
#3      MisskeyAdapter.getNotifications (package:kaiteki_core/src/social/backends/misskey/adapter.dart:444)
<asynchronous suspension>
#4      NotificationService.loadMore.<anonymous closure> (package:kaiteki/fediverse/services/notifications.dart:64)
<asynchronous suspension>
#5      AsyncValue.guard (package:riverpod/src/common.dart:163)
<asynchronous suspension>
#6      NotificationService.loadMore (package:kaiteki/fediverse/services/notifications.dart:63)
<asynchronous suspension>
#7      _NotificationsPageState.initState.<anonymous closure> (package:kaiteki/ui/main/pages/notifications.dart:52)
<asynchronous suspension>

App version

Weekly 2024-02

platform

Android 13