Permalink
Browse files

Closes #1049. Backs off the number of Comet connections in 'modern' b…

…rowsers to 5 to avoid Ajax hammering induced connection starvation
  • Loading branch information...
1 parent 4776886 commit ac39c3c77bbebac0147c7462c672533fa03e8144 @dpp dpp committed Jul 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 web/webkit/src/main/scala/net/liftweb/http/LiftRules.scala
@@ -375,7 +375,7 @@ class LiftRules() extends Factory with FormVendor with LazyLoggable {
* will be sent to all Comet requests to terminate
*/
val maxConcurrentRequests: FactoryMaker[Req => Int] = new FactoryMaker((x: Req) => x match {
- case r if r.isFirefox35_+ || r.isIE8 || r.isChrome3_+ || r.isOpera9 || r.isSafari3_+ => 6
+ case r if r.isFirefox35_+ || r.isIE8 || r.isIE9 || r.isChrome3_+ || r.isOpera9 || r.isSafari3_+ => 5
case _ => 2
}) {}

0 comments on commit ac39c3c

Please sign in to comment.