tdlight-team/tdlight-telegram-bot-api

optimize_memory minimum interval

cavallium opened this issue · 0 comments

If a bot calls optimize_memory too frequently it should return without optimizing the memory again.
A bot that calls optimize_memory too frequently can create a high CPU load.
An hardcoded minimum limit of 4 minutes is fine, since allowing the change of this limit is quite useless.