jono 0.1.5

Priority Job Queue on Redis
Documentation
1
2
3
4
5
6
7
use jono_core::{Context, Forum, get_redis_url};

pub fn create_test_context(topic: &str) -> Context {
    let redis_url = get_redis_url();
    let forum = Forum::new(&redis_url).expect("Failed to connect to Redis");
    forum.topic(topic)
}