• 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
client Loading commit data...
cmd/user-meta-server Loading commit data...
debian Loading commit data...
migrations Loading commit data...
server Loading commit data...
vendor Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
protocol.go Loading commit data...