Don't muddle up the topics when sending Kafka batches

This commit is contained in:
2022-09-20 23:03:02 +01:00
parent e0803d4934
commit 027c43b60a
3 changed files with 33 additions and 18 deletions

View File

@@ -3,6 +3,7 @@ import asyncio
import random
import string
from math import ceil
from os import getenv
import aiohttp
from numpy import array_split
@@ -10,8 +11,6 @@ from numpy import array_split
import db
import util
from os import getenv
# CONFIGURATION #
# Number of 4chan threads to request at once