gatherer: move mod firehose to cave
This commit is contained in:
parent
c3608c895a
commit
24f6c2afad
|
@ -4,6 +4,7 @@ pub mod config;
|
|||
pub mod feed;
|
||||
pub mod store;
|
||||
pub mod trend_tag;
|
||||
pub mod firehose;
|
||||
|
||||
pub const PERIODS: &[u64] = &[4, 24, 7 * 24];
|
||||
|
||||
|
|
|
@ -11,10 +11,12 @@ use axum::{
|
|||
};
|
||||
use axum_extra::routing::SpaRouter;
|
||||
use futures::{stream, StreamExt};
|
||||
use cave::systemd;
|
||||
use cave::{
|
||||
firehose::FirehoseFactory,
|
||||
systemd,
|
||||
};
|
||||
use crate::{
|
||||
html_template::HtmlTemplate,
|
||||
firehose::FirehoseFactory,
|
||||
RequestFactory,
|
||||
request_mux::RequestMux,
|
||||
trends::TrendsResults,
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
use cave::{
|
||||
config::LoadConfig,
|
||||
firehose::FirehoseFactory,
|
||||
store::{Store, TREND_POOL_SIZE}, PERIODS,
|
||||
};
|
||||
use crate::{
|
||||
firehose::FirehoseFactory,
|
||||
request_mux::{Muxable, RequestMux},
|
||||
};
|
||||
|
||||
|
@ -12,7 +12,6 @@ mod trends;
|
|||
mod html_template;
|
||||
mod http_server;
|
||||
mod request_mux;
|
||||
mod firehose;
|
||||
|
||||
type Languages = Vec<String>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue