# HG changeset patch # User Marcin Kuzminski # Date 2018-12-27 21:57:53 # Node ID 6301d8bbe9064dd9f1690febff3f7f64d0b8e377 # Parent 16216d984a848bc6bec76aa47d5e2922cc6c8501 summary: don't load size on container expand, only on manual action. - this is too heavy to open without explicit action - increase locking timeout to 15min - expose basic info on summary page without expand. diff --git a/rhodecode/lib/rc_cache/backends.py b/rhodecode/lib/rc_cache/backends.py --- a/rhodecode/lib/rc_cache/backends.py +++ b/rhodecode/lib/rc_cache/backends.py @@ -96,7 +96,7 @@ class CustomLockFactory(FileLock): # set non-blocking, this will cause an exception if we cannot acquire a lock operation |= fcntl.LOCK_NB start_lock_time = time.time() - timeout = 60 * 5 # 5min + timeout = 60 * 15 # 15min while True: try: flock_org(fd, operation) diff --git a/rhodecode/public/js/src/rhodecode.js b/rhodecode/public/js/src/rhodecode.js --- a/rhodecode/public/js/src/rhodecode.js +++ b/rhodecode/public/js/src/rhodecode.js @@ -76,6 +76,7 @@ var showRepoSize = function(target, repo var url = pyroutes.url('repo_stats', {"repo_name": repo_name, "commit_id": commit_id}); + container.show(); if (!container.hasClass('loaded')) { $.ajax({url: url}) .complete(function (data) { diff --git a/rhodecode/templates/summary/components.mako b/rhodecode/templates/summary/components.mako --- a/rhodecode/templates/summary/components.mako +++ b/rhodecode/templates/summary/components.mako @@ -83,9 +83,9 @@ - +