Skip to content
  • ale's avatar
    Implement progressive user log compaction · 1de863a6
    ale authored
    Trim the number of log entries per user to 100 at most, but only run
    the (relatively expensive) compaction for users that actually log in:
    this is determined by keeping a small in memory cache of active
    usernames hooked to 'add_log'.
    
    Also comes with a simple implementation of cron-like background jobs.
    1de863a6