Recreate webhooks when they go missing, reuse older webhooks, and initiate connections to Redis cluster

This commit is contained in:
2025-08-20 23:20:21 -03:00
parent ee49b0a984
commit aba11cb2da
15 changed files with 553 additions and 34 deletions
+8
View File
@@ -0,0 +1,8 @@
use deadpool_redis::{
Runtime,
cluster::{Config, CreatePoolError, Pool},
};
pub fn init(urls: Vec<String>) -> Result<Pool, CreatePoolError> {
Config::from_urls(urls).create_pool(Some(Runtime::Tokio1))
}