MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / set_async_redis_pool

Function set_async_redis_pool

chirpstack/src/storage/mod.rs:227–230  ·  view source on GitHub ↗
(p: AsyncRedisPool)

Source from the content-addressed store, hash-verified

225}
226
227async fn set_async_redis_pool(p: AsyncRedisPool) {
228 let mut pool_w = ASYNC_REDIS_POOL.write().await;
229 *pool_w = Some(p);
230}
231
232pub fn redis_key(s: String) -> String {
233 let prefix = REDIS_PREFIX.read().unwrap();

Callers 1

setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected