Andrei Morozov

Results 13 comments of Andrei Morozov

> post_prefetch = Prefetch(relation='posts', queryset=Post.all().limit(5)) > user_posts = await User.all().prefetch_related(post_prefetch) This thing does not work by the way. .limit(5) limits prefetch query globally, so you would have only 5 posts...

> Looks like #1030 Yeah. All I do is listening to hundreds of channels and sending messages in one to many manner. So it's kinda[ like this person said ](https://github.com/gotd/td/issues/1030#issuecomment-1647259709)

Application restart helps tho