Skip to content

Commit

Permalink
TaskService persistent ratelimit
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Oct 27, 2016
1 parent bc2417c commit 9fd69b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public int onRunTask(TaskParams taskParams) {

private int doUnmeteredTask() {
if (GcmActivity.token != null) {
if (JoH.ratelimit("unmetered-update", 43200)) {
if (JoH.pratelimit("unmetered-update", 43200)) {
UpdateActivity.checkForAnUpdate(getApplicationContext());
}
}
Expand Down

0 comments on commit 9fd69b9

Please sign in to comment.