Merge pull request #5 from lbryio/master

Update to 0.3.19
This commit is contained in:
Dave-A 2016-08-18 10:38:07 -04:00 committed by GitHub
commit 8c94b6243e
6 changed files with 9 additions and 5 deletions

View file

@ -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}

View file

@ -1,2 +1,2 @@
__version__ = "0.3.18"
__version__ = "0.3.19"
version = tuple(__version__.split('.'))

View file

@ -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()

View file

@ -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)

View file

@ -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

View file

@ -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