forked from LBRYCommunity/lbry-sdk
commit
8c94b6243e
6 changed files with 9 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
[bumpversion]
|
[bumpversion]
|
||||||
current_version = 0.3.18
|
current_version = 0.3.19
|
||||||
commit = True
|
commit = True
|
||||||
tag = True
|
tag = True
|
||||||
message = Bump version: {current_version} -> {new_version}
|
message = Bump version: {current_version} -> {new_version}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
__version__ = "0.3.18"
|
__version__ = "0.3.19"
|
||||||
version = tuple(__version__.split('.'))
|
version = tuple(__version__.split('.'))
|
|
@ -362,6 +362,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
self.version_checker = LoopingCall(self._check_remote_versions)
|
self.version_checker = LoopingCall(self._check_remote_versions)
|
||||||
self.connection_problem_checker = LoopingCall(self._check_connection_problems)
|
self.connection_problem_checker = LoopingCall(self._check_connection_problems)
|
||||||
self.pending_claim_checker = LoopingCall(self._check_pending_claims)
|
self.pending_claim_checker = LoopingCall(self._check_pending_claims)
|
||||||
|
self.send_heartbeat = LoopingCall(self._send_heartbeat)
|
||||||
# self.lbrynet_connection_checker = LoopingCall(self._check_lbrynet_connection)
|
# self.lbrynet_connection_checker = LoopingCall(self._check_lbrynet_connection)
|
||||||
|
|
||||||
self.sd_identifier = StreamDescriptorIdentifier()
|
self.sd_identifier = StreamDescriptorIdentifier()
|
||||||
|
@ -535,7 +536,6 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
|
|
||||||
def _load_analytics_api(self):
|
def _load_analytics_api(self):
|
||||||
self.analytics_api = analytics.Api.load()
|
self.analytics_api = analytics.Api.load()
|
||||||
self.send_heartbeat = LoopingCall(self._send_heartbeat)
|
|
||||||
self.send_heartbeat.start(60)
|
self.send_heartbeat.start(60)
|
||||||
|
|
||||||
def _send_heartbeat(self):
|
def _send_heartbeat(self):
|
||||||
|
@ -806,6 +806,8 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
self.lbry_ui_manager.update_checker.stop()
|
self.lbry_ui_manager.update_checker.stop()
|
||||||
if self.pending_claim_checker.running:
|
if self.pending_claim_checker.running:
|
||||||
self.pending_claim_checker.stop()
|
self.pending_claim_checker.stop()
|
||||||
|
if self.send_heartbeat.running:
|
||||||
|
self.send_heartbeat.stop()
|
||||||
|
|
||||||
self._clean_up_temp_files()
|
self._clean_up_temp_files()
|
||||||
|
|
||||||
|
|
|
@ -226,6 +226,8 @@ class LBRYindex(resource.Resource):
|
||||||
return resource.Resource.getChild(self, name, request)
|
return resource.Resource.getChild(self, name, request)
|
||||||
|
|
||||||
def render_GET(self, request):
|
def render_GET(self, request):
|
||||||
|
request.setHeader('cache-control','no-cache, no-store, must-revalidate')
|
||||||
|
request.setHeader('expires', '0')
|
||||||
return static.File(os.path.join(self.ui_dir, "index.html")).render_GET(request)
|
return static.File(os.path.join(self.ui_dir, "index.html")).render_GET(request)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
|
||||||
|
|
||||||
if [ -z "$(pgrep lbrynet-daemon)" ]; then
|
if [ -z "$(pgrep lbrynet-daemon)" ]; then
|
||||||
echo "running lbrynet-daemon..."
|
echo "running lbrynet-daemon..."
|
||||||
$DIR/lbrynet-daemon --branch="$WEB_UI_BRANCH" &
|
$DIR/lbrynet-daemon --no-launch --branch="$WEB_UI_BRANCH" &
|
||||||
sleep 3 # let the daemon load before connecting
|
sleep 3 # let the daemon load before connecting
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=0.3.18
|
Version=0.3.19
|
||||||
Name=LBRY
|
Name=LBRY
|
||||||
Comment=The world's first user-owned content marketplace
|
Comment=The world's first user-owned content marketplace
|
||||||
Icon=lbry
|
Icon=lbry
|
||||||
|
|
Loading…
Add table
Reference in a new issue