Permalink
Browse files

remove connections: don't wait until session timeout

  • Loading branch information...
1 parent eef4d00 commit 50ef0f83a701e19f52c53d2b52837b498158e8c7 Daniel Hobi committed Jan 31, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/scala/code/comet/ChatUser.scala
@@ -9,6 +9,7 @@ import scala.xml.{NodeSeq, Text}
import net.liftweb.http.js.JsCmds
import code.util.Coords
import net.liftweb.common.Full
+import net.liftweb.util.Helpers._
class ChatUser extends User with CometActor {
@@ -28,6 +29,7 @@ class ChatUser extends User with CometActor {
case _ => //no no
}
+ override def lifespan = Full(0 seconds)
def initUserForm = {
def callback(forValue: String) = SHtml.ajaxCall(JsRaw(forValue), str => {

0 comments on commit 50ef0f8

Please sign in to comment.