diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 08490aa02..78907de6a 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.3.18 +current_version = 0.3.19 commit = True tag = True message = Bump version: {current_version} -> {new_version} diff --git a/lbrynet/__init__.py b/lbrynet/__init__.py index 0c3b4ac7a..d83b7602f 100644 --- a/lbrynet/__init__.py +++ b/lbrynet/__init__.py @@ -1,2 +1,2 @@ -__version__ = "0.3.18" +__version__ = "0.3.19" version = tuple(__version__.split('.')) \ No newline at end of file diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index 6febfddf6..587e43733 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -362,6 +362,7 @@ class LBRYDaemon(jsonrpc.JSONRPC): self.version_checker = LoopingCall(self._check_remote_versions) self.connection_problem_checker = LoopingCall(self._check_connection_problems) 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.sd_identifier = StreamDescriptorIdentifier() @@ -535,7 +536,6 @@ class LBRYDaemon(jsonrpc.JSONRPC): def _load_analytics_api(self): self.analytics_api = analytics.Api.load() - self.send_heartbeat = LoopingCall(self._send_heartbeat) self.send_heartbeat.start(60) def _send_heartbeat(self): @@ -806,6 +806,8 @@ class LBRYDaemon(jsonrpc.JSONRPC): self.lbry_ui_manager.update_checker.stop() if self.pending_claim_checker.running: self.pending_claim_checker.stop() + if self.send_heartbeat.running: + self.send_heartbeat.stop() self._clean_up_temp_files() diff --git a/lbrynet/lbrynet_daemon/LBRYDaemonServer.py b/lbrynet/lbrynet_daemon/LBRYDaemonServer.py index 125aba714..be9775a95 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemonServer.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemonServer.py @@ -226,6 +226,8 @@ class LBRYindex(resource.Resource): return resource.Resource.getChild(self, name, 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) diff --git a/packaging/ubuntu/lbry b/packaging/ubuntu/lbry index a139556cf..86d55b7eb 100755 --- a/packaging/ubuntu/lbry +++ b/packaging/ubuntu/lbry @@ -42,7 +42,7 @@ DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" if [ -z "$(pgrep lbrynet-daemon)" ]; then 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 fi diff --git a/packaging/ubuntu/lbry.desktop b/packaging/ubuntu/lbry.desktop index 023031231..061299934 100644 --- a/packaging/ubuntu/lbry.desktop +++ b/packaging/ubuntu/lbry.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Version=0.3.18 +Version=0.3.19 Name=LBRY Comment=The world's first user-owned content marketplace Icon=lbry