• 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
Name
Last commit
Last update
..
analysis.go Loading commit data...
analysis_test.go Loading commit data...
lastlogin.go Loading commit data...
lastlogin_test.go Loading commit data...
mgmt.go Loading commit data...
mgmt_test.go Loading commit data...
server.go Loading commit data...
server_test.go Loading commit data...
sql.go Loading commit data...
userlog.go Loading commit data...
userlog_test.go Loading commit data...