Commit 3bfd6519 authored by Chris Molozian's avatar Chris Molozian
Browse files

Use leaderboard expires IDs rather than end active IDs with leaderboard resets.

parent 629f072b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4,7 +4,8 @@ All notable changes to this project are documented below.
The format is based on [keep a changelog](http://keepachangelog.com) and this project uses [semantic versioning](http://semver.org).

## [Unreleased]

### Fixed
- Use leaderboard expires rather than end active IDs with leaderboard resets.

## [2.1.0] - 2018-10-08
### Added
+1 −1
Original line number Diff line number Diff line
@@ -201,7 +201,7 @@ func (ls *LeaderboardScheduler) invokeExpiryElapse(t time.Time) {
	fnTournamentReset := ls.runtime.TournamentReset()

	ls.Lock()
	ids := ls.nearEndActiveIds
	ids := ls.nearExpiryIds
	ls.Unlock()

	// Immediately schedule the next invocation to avoid any gaps caused by time spent processing below.