perf(bot): ⚡ Use one process per shard.

Start one process per shard and initialize a new one if any of them fails.
This commit is contained in:
Nyeki.py
2024-10-22 00:42:25 -03:00
parent 922498f45e
commit 29188e53c1
4 changed files with 53 additions and 4 deletions
Generated
+2
View File
@@ -371,6 +371,7 @@ source = { virtual = "." }
dependencies = [
{ name = "aerich" },
{ name = "aiohttp" },
{ name = "click" },
{ name = "colorthief" },
{ name = "httpx" },
{ name = "orjson" },
@@ -384,6 +385,7 @@ dependencies = [
requires-dist = [
{ name = "aerich", specifier = "==0.7.1" },
{ name = "aiohttp", specifier = ">=3.10.10" },
{ name = "click", specifier = ">=8.1.7" },
{ name = "colorthief", specifier = ">=0.2.1" },
{ name = "httpx", specifier = ">=0.27.2" },
{ name = "orjson", specifier = ">=3.10.7" },