commit | 76037f07f078e030a58177bd78bbd4c82feddf5f | [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 | 540419706388de7c2172746ad744b0c5e0e5ee35 [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.