grammyjs / conversations

Conversational interfaces for grammY.
https://grammy.dev/plugins/conversations
MIT License
48 stars 17 forks source link

location not working #79

Closed PR0F1L3R1 closed 1 year ago

PR0F1L3R1 commented 1 year ago
const radarCnv: ConversationFn<Context> = async (conversation, ctx) => {
  await conversation.run(prisma);
  await conversation.run(user);
  await conversation.run(hydrate());

  await ctx.reply(ctx.t("radar.geo"));

  const message = await conversation.waitFor("message:location");

  conversation.log(message );
  return;
};

image 200mb -> 2.7gb and more after send geolocation it start just abusing RAM

KnorpelSenf commented 1 year ago

Are you sure that this is specifiec to location messages? They are handled no differently.

What happens if you remove the 3 conversation.run lines? Does the problem persist?

KnorpelSenf commented 1 year ago

Please comment if you are able to reproduce this—I am not. Closing due to inactivity.