SerhiyZheliznjak / DiscordTrueRoleBot

1 stars 0 forks source link

.filter players that have no new matches fuckthings up #2

Closed SerhiyZheliznjak closed 6 years ago

SerhiyZheliznjak commented 6 years ago

Using .scan after .filter looks like a very bad practice, forkJoin was giving expected result, but id like to work with one player at the time...

SerhiyZheliznjak commented 6 years ago

In NominationService

SerhiyZheliznjak commented 6 years ago

Store recent mathes scores in db, count oscores only for new matches, thus instead of filtering players without matches it will recalculate their old scores and you will always get data for .scan?