Issue #3414287 by catch, longwave: Avoid reading session from the database multiple times during a big pipe request
mentioned in commit 52240470