Run processing in thread

This commit is contained in:
2022-09-04 21:29:00 +01:00
parent 22cef33342
commit db46fea550
7 changed files with 152 additions and 85 deletions

View File

@@ -10,6 +10,27 @@ services:
- .env
volumes_from:
- tmp
depends_on:
- db
db:
image: manticoresearch/manticore
restart: always
ports:
- 9308
- 9312
ulimits:
nproc: 65535
nofile:
soft: 65535
hard: 65535
memlock:
soft: -1
hard: -1
environment:
- MCL=1
volumes:
- ./docker/data:/var/lib/manticore
tmp:
image: busybox

View File

@@ -5,3 +5,5 @@ siphashc
aiohttp[speedups]
python-dotenv
manticoresearch
numpy
ujson