Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Conversation

@dev-737
Copy link
Member

@dev-737 dev-737 commented Jul 2, 2023

Storing objects with URL, id, and token takes significantly more space in the database. So only storing the URL as a string will reduce the size, without losing any of the data. Parse the id, and token from the string itself.

Resolves IC-71

Storing object with url, id and token takes significantly more space in the database. So only
storing the URL as a string will reduce the size, without losing any of the data. Parse the id,
token from the string itself.
@dev-737 dev-737 added the feature New feature or request label Jul 2, 2023
@dev-737 dev-737 added this to the 3.12 milestone Jul 2, 2023
@dev-737 dev-737 self-assigned this Jul 4, 2023
@oxaradev oxaradev deleted a comment from linear bot Jul 4, 2023
@linear
Copy link

linear bot commented Jul 4, 2023

IC-71 Don't store webhook id, token and url separately

It's better to just store the URL since it has the token and id in it and can be used directly with discord.js. Also, storing object with url, id and token takes significantly more space in the database. So only storing the URL as a string will reduce the size, without losing any of the data.

@dev-737 dev-737 merged commit 13a225b into main Jul 5, 2023
@dev-737 dev-737 deleted the db_webhook branch August 19, 2023 11:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants