Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

check for publisher rules update once a day #3638

Closed
mrose17 opened this issue Sep 1, 2016 · 2 comments
Closed

check for publisher rules update once a day #3638

mrose17 opened this issue Sep 1, 2016 · 2 comments

Comments

@mrose17
Copy link
Member

mrose17 commented Sep 1, 2016

cf., brave/ledger-client#13

@mrose17 mrose17 added this to the 0.11.7dev milestone Sep 1, 2016
@mrose17 mrose17 self-assigned this Sep 1, 2016
@mrose17 mrose17 closed this as completed in a3eb657 Sep 1, 2016
@alexwykoff
Copy link
Contributor

How would QA go about testing this?

@mrose17
Copy link
Member Author

mrose17 commented Sep 4, 2016

in ledger-state*.json, the rulesStamp gives the timestamp of the next update.

because the rules might not change within a 24h period, it probably makes more sense to look for the stamp to update by approximately 86,400,000 after 24h.

yes, not a very easy thing to do, but there you have it.

alternately, you could modify the value to be in the past and set ruleset to [] run the browser for a couple of minutes and see if both rulesStamp and rules change (in a good way!)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants