add tracemalloc
This commit is contained in:
parent
437cabf303
commit
f96a58c141
@ -14,6 +14,8 @@ import aiohttp
|
|||||||
import aiohttp_socks
|
import aiohttp_socks
|
||||||
import html.parser
|
import html.parser
|
||||||
import stream_providers
|
import stream_providers
|
||||||
|
import tracemalloc
|
||||||
|
tracemalloc.start()
|
||||||
|
|
||||||
logging.basicConfig(format='[%(filename)s:%(lineno)d] %(message)s', stream=sys.stdout, level=logging.INFO)
|
logging.basicConfig(format='[%(filename)s:%(lineno)d] %(message)s', stream=sys.stdout, level=logging.INFO)
|
||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
Loading…
Reference in New Issue
Block a user