Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Commit

Permalink
schdule call retry at fixed rate on android target
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpsantiago committed Mar 18, 2019
1 parent 69c5e00 commit d7d64d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/target/java_android.cr
Original file line number Diff line number Diff line change
Expand Up @@ -838,8 +838,7 @@ END
});
}
};
timer.schedule(task, 0, 2000);
timer.scheduleAtFixedRate(task, 0, 2000);
}
static Calendar toCalendar(Date date){
Expand Down

0 comments on commit d7d64d6

Please sign in to comment.