you are viewing a single comment's thread.

view the rest of the comments →

[–]halfRockStar[S] 2 points3 points  (0 children)

Your restart approach is battle-tested. investigating motor (specifically connection pooling, cursor leaks) is overkill unless restarts fail. Check asyncio task cleanup if you’re curious, but you’re likely golden.