Updates the World of Warcraft PvP leaderboard data consumed by pvpleaderboard
Use: run pvpleaderboard to update the $DB_URL database with the current data from Blizzard's API
Environment variables:
DB_URLthe URL of the [PostgreSQL] database to use (required)BATTLE_NET_CLIENT_IDbattle.net Client ID (required)BATTLE_NET_SECRETbattle.net Client ID (required)MAX_PER_BRACKETmaximum number of players to retrieve per bracket (optional, will retrieve all players for each bracket if not set)GROUP_SIZEnumber of players each goroutine should handle when importing player details (optional)MAX_DB_CONNECTIONSmaximum size of the DB connection pool (optional)