Closed dansimau closed 4 years ago
The latest commit now supports paging users, you must have a lot of users in a team? I can add a setting so you can specify the amount of users to load in a channel. But at the moment, the only solution is to go back to an older commit.
Which features require us to load all users preemptively?
The use-cases I can think of are:
/whois
, for displaying all users on the server&users
channelI don't really need either so I'm thinking those features could be turned off with a config option.
The alternative would be to only load users on-demand, when needed.
Also needed for the users in a #channel If you have all those users in the same team, those users will also join the #town-square channel by default. Querying 44 pages shouldn't take 13 minutes though, maybe some rate-limiting server side got hit? I'll add an option to disable user loading.
Should be fixed in master, otherwise reopen please.
After upgrading from 8e043ed->aae0fc9, I now have trouble connecting. It appears to just hang. I got:
I left it for a while another time and it connected after 13 minutes.
I think the issue is loading all the users. Is there a way to architect this so it doesn't need to load users?