[extensions-web] requirejs: increase default timeout to 30 seconds.



commit 447b68258c31ea4e88d691816ccdaf48096c4483
Author: Yuri Konotopov <ykonotopov gnome org>
Date:   Sat Dec 3 12:06:46 2016 +0300

    requirejs: increase default timeout to 30 seconds.
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=721930

 sweettooth/templates/base.html |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/templates/base.html b/sweettooth/templates/base.html
index 47ecd43..b39bba1 100644
--- a/sweettooth/templates/base.html
+++ b/sweettooth/templates/base.html
@@ -8,7 +8,10 @@
           href="{% url 'extensions-rss-feed' %}" title="Latest extensions in GNOME Shell Extensions" />
     <title>{% block title %}GNOME Shell Extensions{% endblock %}</title>
     <script>
-      var require = { baseUrl: '/static/js/' };
+        var require = {
+            baseUrl: '/static/js/',
+            waitSeconds: 30 // It's fails sometimes with default 7 secs
+        };
     </script>
     <script src="/static/js/require.js"></script>
     <script src="/static/js/jquery.js"></script>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]