From e69fd847116062a269714c97ac4ce54605616492 Mon Sep 17 00:00:00 2001 From: skelmis Date: Sat, 6 Jan 2024 17:16:51 +1300 Subject: [PATCH] chore: debug RESUME's breaking --- suggestions/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suggestions/main.py b/suggestions/main.py index 052f590..12217bc 100644 --- a/suggestions/main.py +++ b/suggestions/main.py @@ -34,7 +34,7 @@ async def create_bot(database_wrapper=None) -> SuggestionsBot: total_shards = int(os.environ["TOTAL_SHARDS"]) cluster_id = int(os.environ["CLUSTER"]) offset = cluster_id - 1 - number_of_shards_per_cluster = 5 + number_of_shards_per_cluster = int(os.environ["SHARDS_PER_CLUSTER"]) shard_ids = [ i for i in range(