[server] Allow setting history length for each repo.