     // and update the purge timestamp so nobody tries to get in after us.
     
     dispatch_barrier_sync(self.usersQueue, {
-      guard now.timeInterval(since: self.purgeTimeStamp) > UserPurgeInterval else {
+      guard now.timeInterval(since: self.purgeTimeStamp) > PurgeInterval else {
         return
       }
 

import Vapor
import VaporZewoMustache

private let UserPurgeInterval = NSTimeInterval(60*60)
private let UserTimeoutInterval = NSTimeInterval(60*60*24)
private let MinQueryLength = 3

class App {

  }

  private func userForRequest(request: Request) -> User? {
    self.purgeUsersAndRepos()
    
    guard let sessionIdentifier = request.session?.identifier,
          user = self.userForSessionIdentifier(sessionIdentifier)
