"Cache" Loaded Channels #67

Closed
opened 2024-10-12 18:05:22 +00:00 by corbz · 1 comment
Owner

Can we store the loaded servers in a variable, and provide a refresh button for the user inside the subscription modal.

Currently, each time you open a server, a request is made to discord for the channels, this could lead to easily hit rate limits.

It should be:

  1. open page
  2. navigate to any server
  3. load channels, or fetch from a variable if already loaded
Can we store the loaded servers in a variable, and provide a refresh button for the user inside the subscription modal. Currently, each time you open a server, a request is made to discord for the channels, this could lead to easily hit rate limits. It should be: 1. open page 2. navigate to any server 3. load channels, or fetch from a variable if already loaded
corbz added the
enhancement
bug
labels 2024-10-12 18:05:22 +00:00
corbz self-assigned this 2024-10-12 18:05:22 +00:00
corbz added this to the PYRSS project 2024-10-12 18:05:22 +00:00
Author
Owner

It might be worth re-visiting this in the future, to see if it's possible to load the channels using the user's account, over the bot, so that the bot won't get rate limited by many different users changing servers at once.

This would of course mean finding another way to determine if the bot is operational within the server or not.

It might be worth re-visiting this in the future, to see if it's possible to load the channels using the user's account, over the bot, so that the bot won't get rate limited by many different users changing servers at once. This would of course mean finding another way to determine if the bot is operational within the server or not.
corbz changed title from "Cache" Loaded Servers to "Cache" Loaded Channels 2024-10-12 18:48:17 +00:00
corbz closed this issue 2024-10-12 19:00:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: corbz/PYRSS-Website#67
No description provided.