UnifierHQ / unifier

A fast and versatile Discord bot connecting servers and platforms
https://unifier-wiki.pixels.onl/
GNU Affero General Public License v3.0
4 stars 5 forks source link

Use aiofiles for data write #132

Closed greeeen-dev closed 1 month ago

greeeen-dev commented 1 month ago

Checklist

Is your feature request related to a problem? Please describe.

Currently, Unifier data system uses synchronous operations to save data, which can cause issues as the data grows and the json takes longer to save.

Describe the solution you'd like

Use aiofiles to write files.

Describe alternatives you've considered

Additional context

greeeen-dev commented 1 month ago

Decided to use threading instead