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

Method get_buffering_timeout

apps/proxy/config.py:124–127  ·  view source on GitHub ↗

Get buffering timeout from database or default

(cls)

Source from the content-addressed store, hash-verified

122
123 @classmethod
124 def get_buffering_timeout(cls):
125 """Get buffering timeout from database or default"""
126 settings = cls.get_proxy_settings()
127 return settings.get("buffering_timeout", 15)
128
129 @classmethod
130 def get_buffering_speed(cls):

Callers 2

BUFFERING_TIMEOUTMethod · 0.95
buffering_timeoutMethod · 0.80

Calls 2

get_proxy_settingsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected