Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write cronjob for update round #668

Merged
merged 2 commits into from
Sep 29, 2022

Conversation

mohammadranjbarz
Copy link
Collaborator

@mohammadranjbarz mohammadranjbarz commented Sep 29, 2022

Just add a cronjob to update power round periodically

@mohammadranjbarz mohammadranjbarz changed the base branch from staging to f_16_power_boosting September 29, 2022 05:25
(now - firstGivbackRoundTimeStamp) / givbackRoundLength,
);
const previousGivbackRound =
Math.floor((now - firstGivbackRoundTimeStamp) / givbackRoundLength) + 1;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change its name to round or givbackRound! it's not previousGivbackRound anymore

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Member

@aminlatifi aminlatifi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @mohammadranjbarz

@aminlatifi aminlatifi merged commit 35f878f into f_16_power_boosting Sep 29, 2022
@aminlatifi aminlatifi deleted the write_cronjob_for_update_round branch September 29, 2022 05:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants