Skip to content

Commit

Permalink
cleaned files and added files for activator, changet time scheduler w…
Browse files Browse the repository at this point in the history
…ith akka scheduler
  • Loading branch information
gigiigig committed Sep 13, 2013
1 parent a966332 commit e9a49df
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 481 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -17,3 +17,4 @@ dist
.ensime
.ensime_lucene
public/images/screens/
project/activator*
5 changes: 5 additions & 0 deletions app/actors/TasksActor.scala
Expand Up @@ -9,6 +9,9 @@ import play.api.libs.iteratee.{Concurrent, Enumerator}

import play.api.libs.iteratee.Concurrent.Channel
import play.api.Logger
import play.api.libs.concurrent.Execution.Implicits._

import scala.concurrent.duration._

/**
* User: Luigi Antonini
Expand All @@ -17,6 +20,8 @@ import play.api.Logger
*/
class TasksActor extends Actor {

val cancellable = context.system.scheduler.schedule(0 second, 1 second, self, UpdateTime())

case class UserChannel(userId: Int, var channelsCount: Int, enumerator: Enumerator[JsValue], channel: Channel[JsValue])

lazy val log = Logger("application." + this.getClass.getName)
Expand Down
104 changes: 0 additions & 104 deletions app/assets/javascripts/spec/archiveSpec.coffee

This file was deleted.

0 comments on commit e9a49df

Please sign in to comment.