Skip to content

Commit

Permalink
FILO queue truncation
Browse files Browse the repository at this point in the history
  • Loading branch information
naggie committed Apr 13, 2013
1 parent 372f9ee commit 4bdc1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aggregator/articleQueue.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var internal = function (params) {
articles.splice(index+1,0,article)

if (articles.length > max)
articles.pop()
articles.splice(index,1)

return true
}
Expand Down

0 comments on commit 4bdc1c7

Please sign in to comment.