Project website + use Apalis crate for task queue (with redis backend)
ci/woodpecker/push/tests Pipeline was successful

instead channel and semaphore queue + upgrade to rust 1.99
This commit is contained in:
qpismont committed 2026-10-05 20:44:57 +00:00
1 parent c546707f72
commit d74db2096c
23 files changed
+1234 -183

No files matched your search

+6 -3
View File
@@ -1,8 +1,11 @@
use crate::{bot::Bot, env::EnvConfig, gitea::WebhookType};
use apalis_redis::RedisStorage;
use crate::{dedup::Dedup, env::EnvConfig, gitea::WebhookType};
#[derive(Clone)]
pub struct AppState {
pub bot_tx: tokio::sync::mpsc::Sender<WebhookType>,
pub bot: Bot,
pub storage: RedisStorage<WebhookType>,
pub bot_name: String,
pub dedup: Dedup,
pub config: EnvConfig,
}