diff --git a/suggestions/main.py b/suggestions/main.py index 976b637..0998a43 100644 --- a/suggestions/main.py +++ b/suggestions/main.py @@ -28,12 +28,13 @@ async def create_bot(database_wrapper=None) -> SuggestionsBot: is_prod: bool = True if os.environ.get("PROD", None) else False if is_prod: + # TODO Fix this # request = httpx.get("http://localhost:7878/shard-count") # total_shards = int(request.text) total_shards = 70 cluster_id = int(os.environ["CLUSTER"]) offset = cluster_id - 1 - number_of_shards_per_cluster = 10 + number_of_shards_per_cluster = 5 shard_ids = [ i for i in range(