MCPcopy Create free account
hub / github.com/Dispatcharr/Dispatcharr / _refresh_build_ttl

Function _refresh_build_ttl

apps/output/streaming_chunk_cache.py:90–93  ·  view source on GitHub ↗
(redis, base_key, lock_ttl)

Source from the content-addressed store, hash-verified

88
89
90def _refresh_build_ttl(redis, base_key, lock_ttl):
91 redis.expire(_lock_key(base_key), lock_ttl)
92 redis.expire(_status_key(base_key), lock_ttl)
93 redis.expire(_chunks_key(base_key), lock_ttl)
94
95
96def _stream_ready(redis, base_key):

Callers 1

_stream_buildFunction · 0.85

Calls 4

_lock_keyFunction · 0.85
_status_keyFunction · 0.85
_chunks_keyFunction · 0.85
expireMethod · 0.80

Tested by

no test coverage detected