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

Function _poll_wait

apps/output/streaming_chunk_cache.py:50–61  ·  view source on GitHub ↗
(interval)

Source from the content-addressed store, hash-verified

48
49
50def _poll_wait(interval):
51 try:
52 from core.utils import _is_gevent_monkey_patched
53
54 if _is_gevent_monkey_patched():
55 import gevent
56
57 gevent.sleep(interval)
58 return
59 except ImportError:
60 pass
61 time.sleep(interval)
62
63
64def _get_redis():

Callers 1

_stream_followFunction · 0.85

Calls 1

Tested by

no test coverage detected