storj/satellite/accounting/live
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
..
cache.go redis: Rename functions prefixed with New by Open 2021-03-25 06:09:27 +00:00
doc.go satellite/accounting: Fix and enhance code doc comments 2020-11-04 09:50:48 +00:00
live_test.go redis: Rename functions prefixed with New by Open 2021-03-25 06:09:27 +00:00
redis.go satellite/redis: used bandwidth key depends on day 2021-06-05 17:14:52 +00:00