set log level to info; increase cache size to 300M

This commit is contained in:
bain 2022-08-21 23:23:17 +02:00
parent 6078136478
commit 4ad40c3ddd
No known key found for this signature in database
GPG key ID: A708F07AF3D92C02

View file

@ -11,7 +11,7 @@ from .messages import MessageHandler
from .cache import Cache
discord.utils.setup_logging()
logging.getLogger("ari").setLevel(logging.DEBUG)
logging.getLogger("ari").setLevel(logging.INFO)
logger = logging.getLogger(__name__)
@ -25,7 +25,7 @@ class Bot(discord.Client):
super().__init__(intents=intents)
self.tree = app_commands.CommandTree(self)
self.message_handler = MessageHandler(self)
self.music_cache = Cache(self.http, MUSIC_CACHE, max_size=30000000)
self.music_cache = Cache(self.http, MUSIC_CACHE, max_size=300000000)
self.players: Dict[int, Player] = {}
async def setup_hook(self) -> None: