gatherer: move mod firehose to cave

This commit is contained in:
Astro 2022-11-16 19:12:25 +01:00
parent c3608c895a
commit 24f6c2afad
4 changed files with 6 additions and 4 deletions

View File

@ -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];

View File

@ -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,

View File

@ -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>;