add tracemalloc

This commit is contained in:
Roy Olav Purser 2021-05-27 21:17:55 +02:00
parent 437cabf303
commit f96a58c141
Signed by: roypur
GPG Key ID: E14D26A036F21656

View File

@ -14,6 +14,8 @@ import aiohttp
import aiohttp_socks
import html.parser
import stream_providers
import tracemalloc
tracemalloc.start()
logging.basicConfig(format='[%(filename)s:%(lineno)d] %(message)s', stream=sys.stdout, level=logging.INFO)
logger = logging.getLogger(__name__)