commit | 079353ad1f894853b80cda4db8ee0ce08d682b28 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Dec 23 05:29:04 2009 +0100 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Wed Dec 23 05:30:47 2009 +0100 |
tree | 7200885f3bec2262ad6bb6ce32dfea37f2c31c62 | |
parent | 6fced2fd0a0065249265b6f4a53acd925c2e0f09 [diff] |
[statistics] Do the syncing to db from within the bsc_hack Change the counters_store_db function to be a generic for_each function taking a function pointer and data. Use that in bsc_hack to store it to the DB. This is removing the DB requirement and will allow to handle the counter values in different ways without making the counter list public. I verified that the syncing is still taking place.