Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial lag when using StreamChatPersistenceClient #1827

Open
jukiginanjar opened this issue Jan 4, 2024 · 3 comments
Open

Initial lag when using StreamChatPersistenceClient #1827

jukiginanjar opened this issue Jan 4, 2024 · 3 comments
Labels

Comments

@jukiginanjar
Copy link

jukiginanjar commented Jan 4, 2024

Which packages are you using?

stream_chat_persistance

On what platforms did you experience the issue?

iOS, Android

What version are you using?

6.10.0

What happened?

I'm attempting to enable offline storage StreamChatPersistenceClient when using StreamChannelListView, but I'm encountering an issue where there is significant lag during the initial loading of the channels.

This issue occurs when there are numerous channels and chats present.

Steps to reproduce

Enable offline storage with `StreamChatPersistenceClient` and then attempt to display channels using `StreamChannelListView`.


  final client = Get.put(StreamChatClient(AppConfig.instance.streamApiKey, logLevel: Level.OFF));
  client.chatPersistenceClient = StreamChatPersistenceClient(
    connectionMode: ConnectionMode.background,
    logLevel: Level.INFO,
  );

- [X] I agree to follow this project's Code of Conduct
@jukiginanjar jukiginanjar added the bug Something isn't working label Jan 4, 2024
@esarbanis
Copy link
Collaborator

Have you tried to fetch smaller pages of your channel list?

Copy link

This issue is stale because it has been open for 20 days with no activity.

@Ssiswent
Copy link

Ssiswent commented Apr 7, 2024

The same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants