ets-berkeley-edu/calcentral — pull request #1080 by yuhunglin (2013-05-15 07:13:33+00:00)
Title: [NOJIRA] Clearing stale connection periodically in a busy endpoint

During local testing, I noticed that running clear_stale_cached_connections was able to drop the idle connections down to what I would have expected to see (3 -> 1) for one user connecting. I'm assuming this should help reclaim resources from other threads that could have potentially crashed and held on to resources. Then it was just about finding an common enough endpoint that I could expect a fairly routine call to clear_stale_connections.