Skip to content

Commit

Permalink
remove deletion of datapoints, since no bad observers will be ingame
Browse files Browse the repository at this point in the history
anymore
fix statisticswebservice to display games that are between the requested
players and not between 410 and 412 all the time
  • Loading branch information
ColaColin committed Mar 17, 2014
1 parent e34832b commit e157027
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/props/default.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cometServeThreshold = 300000
minGameLength=5
deletionInterval=10

minDataPointsToKeep = 12
minDataPointsToKeep = 0

liveGameThreshold=10000

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/props/production.default.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cometServeThreshold = 300000
minGameLength=5
deletionInterval=10

minDataPointsToKeep = 12
minDataPointsToKeep = 0

liveGameThreshold=10000

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ object StatisticsReportService extends RestHelper with Loggable {
val ta = teams as "ta"
db.select(g.ID, g.WINNER_TEAM, ta.INGAME_ID, g.START_TIME, g.END_TIME).
from(a).
join(b).on(a.P === 410).and(b.P === 412).and(a.ID !== b.ID).and(b.G === a.G).
join(b).on(a.P === pa).and(b.P === pb).and(a.ID !== b.ID).and(b.G === a.G).
join(c).on(c.G === a.G).
join(g).on(a.G === g.ID).
join(ta).on(ta.ID === a.T).
Expand Down

0 comments on commit e157027

Please sign in to comment.