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

Automatic cleanup of ticker_usd #67

Open
wtogami opened this issue May 13, 2015 · 0 comments
Open

Automatic cleanup of ticker_usd #67

wtogami opened this issue May 13, 2015 · 0 comments

Comments

@wtogami
Copy link
Collaborator

wtogami commented May 13, 2015

Currently Baron grabs the Bitstamp vwap every 5 minutes and saves it to the ticker_usd Couch database. This data is used during subsequent transaction reception to record the approximate USD value at the time of the Bitcoin transaction, which can be helpful for accounting purposes.

The ticker_usd database currently grows slowly forever while older data is not needed. It would be helpful to have a config option that triggers automatic cleanup of data old enough that it would not be useful to keep.

Must figure out what that time duration is ... it might be extremely short for most transactions, however downtime recovery might complicate this.

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

No branches or pull requests

1 participant