storj/satellite/accounting
Fadila Khadar 3de9655b68 satellite/redis: used bandwidth key depends on day
The redis key associated to bandwidth usage depended on the current month.
This change makes it depends also on the day, so that we update bandwidth usage
daily to take into account changes associated to expired but not used allocated bandwidth.

It also add a test to to check that the allocated but not settled bandwidth is not counted after 2 days.

Change-Id: Iee9dbe3517cc3b9825438360b276a07a43dfbc64
2021-06-05 17:14:52 +00:00
..
live satellite/redis: used bandwidth key depends on day 2021-06-05 17:14:52 +00:00
projectbwcleanup satellite/accounting/projectbwcleanup: more realistic test value 2021-06-03 12:25:22 +00:00
rollup testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00
rolluparchive testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00
tally testplanet/satellite: reduce the number of places default values need to be configured 2021-06-01 22:14:17 +00:00
billing_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
bucketstats.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
bucketusage.go all: fix dots 2020-07-16 14:58:28 +00:00
common.go all: fix error naming 2021-04-29 15:38:21 +03:00
db_test.go satellite/metabase: move package one level higher 2021-04-21 15:54:22 +03:00
db.go satellite/orders: use project daily bandwidth rollups 2021-05-25 18:28:58 +00:00
projectlimitcache_test.go satellite/console: change default project and usage limits 2021-03-24 14:24:27 +00:00
projectlimitcache.go all: fix error naming 2021-04-29 15:38:21 +03:00
projectusage_test.go satellite/redis: used bandwidth key depends on day 2021-06-05 17:14:52 +00:00
projectusage.go satellite/orders: use project daily bandwidth rollups 2021-05-25 18:28:58 +00:00