UnifierHQ / unifier

A fast and versatile Discord bot connecting servers and platforms
https://wiki.unifierhq.org
GNU Affero General Public License v3.0
9 stars 17 forks source link

Bot freezes during system upgrade #151

Closed greeeen-dev closed 2 months ago

greeeen-dev commented 3 months ago

Checklist

Describe the bug

When upgrading the bot, the bot becomes unresponsive, increasing latency for commands and bridge operations.

To Reproduce

  1. u!upgrade when a new update is available.

Expected behavior

Bot remains responsive during upgrade.

Screenshots

Platform

Discord

Version

v2.0.6-patch2

Extensions

Modified instance

Modified instance repository

Additional context

Caused by lack of async usage on long operations (such as git clone and pip install)

greeeen-dev commented 3 months ago

Not really a bug to be honest, but I couldn't be asked to create a third feature suggestion today

greeeen-dev commented 2 months ago

sometimes i hate github...

greeeen-dev commented 2 months ago

To prevent having to increment release number for language files, I'm releasing the patch for v2.0.x once we release v2.1.0

greeeen-dev commented 2 months ago

:melting_face: