Skip to content

Commit

Permalink
fix(host): setTimeout fails
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveVanOpstal committed May 30, 2016
1 parent f7d1b37 commit ca318af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/host.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export class Server {

private handleChampions = (err, result) => {
if (err) {
setTimeout(this.getChampions(result.region, this.handleChampions), 60 * 1000);
setTimeout(this.getChampions, 10 * 1000, result.region, this.handleChampions);
return;
}
this.champions[result.region] = result.champions;
Expand Down

0 comments on commit ca318af

Please sign in to comment.