Remove unused watcher memo
This commit is contained in:
parent
fedd7d649f
commit
245a23a2a1
|
@ -166,9 +166,6 @@ final class SystemEnv(application: Application) {
|
|||
o.threadsAllowedToBlockForConnectionMultiplier = config getInt "mongo.threadsAllowedToBlockForConnectionMultiplier"
|
||||
}
|
||||
|
||||
lazy val watcherMemo = new WatcherMemo(
|
||||
timeout = getMilliseconds("memo.watcher.timeout"))
|
||||
|
||||
lazy val hookMemo = new HookMemo(
|
||||
timeout = getMilliseconds("memo.hook.timeout"))
|
||||
|
||||
|
|
|
@ -104,5 +104,4 @@ final class Socket(
|
|||
JsObject(Seq("error" -> JsString("Invalid request")))
|
||||
) andThen Enumerator.enumInput(Input.EOF))
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
package lila
|
||||
package memo
|
||||
|
||||
final class WatcherMemo(timeout: Int) extends BooleanExpiryMemo(timeout) {
|
||||
|
||||
def count(prefix: String): Int = keys count (_ startsWith prefix)
|
||||
}
|
Loading…
Reference in a new issue