Split thread list into chunks to save memory

This commit is contained in:
2022-09-05 07:20:30 +01:00
parent 6e00f70184
commit f8fc5e1a1b
3 changed files with 17 additions and 7 deletions

View File

@@ -18,6 +18,6 @@ COPY discord-patched.tgz /code/
RUN python -m venv /venv
RUN . /venv/bin/activate && pip install -r requirements.txt
RUN tar xf /code/discord-patched.tgz -C /venv/lib/python3.10/site-packages
RUN tar xf /code/discord-patched.tgz -C /venv/lib/python3.9/site-packages
CMD . /venv/bin/activate && exec python monolith.py