@@ -16,7 +16,7 @@ pub struct HttpTrackerCoreContainer {
1616 pub tracker_core_container : Arc < TrackerCoreContainer > ,
1717
1818 // `HttpTrackerCoreServices`
19- pub stats_keeper : Arc < statistics:: event_bus:: EventBus > ,
19+ pub event_bus : Arc < statistics:: event_bus:: EventBus > ,
2020 pub stats_event_sender : Arc < Option < Box < dyn event:: sender:: Sender > > > ,
2121 pub stats_repository : Arc < statistics:: repository:: Repository > ,
2222 pub announce_service : Arc < AnnounceService > ,
@@ -48,7 +48,7 @@ impl HttpTrackerCoreContainer {
4848 Arc :: new ( Self {
4949 tracker_core_container : tracker_core_container. clone ( ) ,
5050 http_tracker_config : http_tracker_config. clone ( ) ,
51- stats_keeper : http_tracker_core_services. stats_keeper . clone ( ) ,
51+ event_bus : http_tracker_core_services. event_bus . clone ( ) ,
5252 stats_event_sender : http_tracker_core_services. stats_event_sender . clone ( ) ,
5353 stats_repository : http_tracker_core_services. stats_repository . clone ( ) ,
5454 announce_service : http_tracker_core_services. announce_service . clone ( ) ,
@@ -58,7 +58,7 @@ impl HttpTrackerCoreContainer {
5858}
5959
6060pub struct HttpTrackerCoreServices {
61- pub stats_keeper : Arc < statistics:: event_bus:: EventBus > ,
61+ pub event_bus : Arc < statistics:: event_bus:: EventBus > ,
6262 pub stats_event_sender : Arc < Option < Box < dyn event:: sender:: Sender > > > ,
6363 pub stats_repository : Arc < statistics:: repository:: Repository > ,
6464 pub announce_service : Arc < services:: announce:: AnnounceService > ,
@@ -94,7 +94,7 @@ impl HttpTrackerCoreServices {
9494 ) ) ;
9595
9696 Arc :: new ( Self {
97- stats_keeper : http_stats_event_bus,
97+ event_bus : http_stats_event_bus,
9898 stats_event_sender : http_stats_event_sender,
9999 stats_repository : http_stats_repository,
100100 announce_service : http_announce_service,
0 commit comments