I just spent two hours trying to chase down a bug in my server code that kept triggering context cancellations which turned out to be an errant return resp instead of yield response in a cursored python *CLIENT* loop. So, not a server bug -- a correct hangup.pic.twitter.com/sHwc3Mbqxt
-
-
Replying to @generativist
:O I don't think I've ever had to use yield before despite coding for a few year. So I probably would have done the exact same thing. Once forgot to close a db conn. I fixed it, forgot to merge the fix. Month later 'why are there so many open db connections?!?'

1 reply 0 retweets 1 like -
Replying to @ProbNotABot
Oh this one is def on me since I use generators on python near-excessively...
1 reply 0 retweets 1 like
Replying to @generativist @ProbNotABot
Db.close() is legit though haha
9:49 AM - 5 Sep 2019
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.