about to merge stats into it
This commit is contained in:
parent
ca41cb5c9e
commit
c925ec9c27
@ -442,6 +442,9 @@ impl StatBuffer {
|
|||||||
let mut opt_in_timeseries_buffer = HashMap::<RpcQueryKey, BufferedRpcQueryStats>::new();
|
let mut opt_in_timeseries_buffer = HashMap::<RpcQueryKey, BufferedRpcQueryStats>::new();
|
||||||
let mut accounting_db_buffer = HashMap::<RpcQueryKey, BufferedRpcQueryStats>::new();
|
let mut accounting_db_buffer = HashMap::<RpcQueryKey, BufferedRpcQueryStats>::new();
|
||||||
|
|
||||||
|
// TODO: Somewhere here we should probably be updating the balance of the user
|
||||||
|
// And also update the credits used etc. for the referred user
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
tokio::select! {
|
tokio::select! {
|
||||||
stat = stat_receiver.recv_async() => {
|
stat = stat_receiver.recv_async() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user