grammyjs / website

The grammY documentation website.
https://grammy.dev
MIT License
45 stars 102 forks source link

Inefficient CFW code examples #1109

Open KnorpelSenf opened 2 months ago

KnorpelSenf commented 2 months ago

The CFW hosting guides contain code that calls getMe once per request. That's useless. It should only be called once per isolate creation, and optionally be skipped every time.

Reported in https://t.me/grammyjs/260693.