pyc-website
main website for pyc inc.
git clone https://9o.is/git/pyc-website.git
commit 21dd5d73732beda9a9129ee4fa7b1d93d32f1e20 parent be60a300ef3919bd3e9e42f6dda6c749addcceb5 Author: Jul <jul@9o.is> Date: Tue, 24 Jun 2014 17:43:26 -0400 application comet timesout before ELB does in 60s Diffstat:
| M | src/main/scala/bootstrap/liftweb/Boot.scala | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/scala/bootstrap/liftweb/Boot.scala b/src/main/scala/bootstrap/liftweb/Boot.scala @@ -36,6 +36,10 @@ class Boot extends Loggable { // For S.loggedIn_? and TestCond.loggedIn/Out builtin snippet LiftRules.loggedInTest = Full(() => User.isLoggedIn) + + // set comet timeout to 45s -- fixes 60s timeout issue with ELB + // https://forums.aws.amazon.com/thread.jspa?threadID=33427 + LiftRules.cometRequestTimeout = Full(45) // checks for ExtSession cookie LiftRules.earlyInStateful.append(User.testForExtSession)