All archive requests are now queued.
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Thu, 11 Nov 2010 12:41:20 +0000 (12:41 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Thu, 11 Nov 2010 12:41:20 +0000 (12:41 +0000)
bin/djais/views.py
html_templates/vessel.html

index 0b48b767d71951f8ff78732df172ec194ec34c1b..90b538b49f382c6e5e04038040c20fe4989eea7e 100644 (file)
@@ -406,7 +406,8 @@ def vessel_history(request, strmmsi, format=None):
     date_start = date_end - timedelta(0,period*period_type)
     nmea_iterator = NmeaFeeder(strmmsi, date_end, date_start, granularity=grain*grain_type)
     
-    queue = request.REQUEST.get('queue', None)
+    #queue = request.REQUEST.get('queue', None)
+    queue = True
 
     if format is None:
         format = request.REQUEST.get('format', u'track')
index 6ec6454b3d3d2e9faae4ad5d9d6fb3b30830702c..94c97fbb096968f87dd192c7ea256de30e72b2bf 100644 (file)
@@ -58,8 +58,6 @@ One position every <input name=grain size=3 value=1><select name=grain_type>
 <option value=86400>day(s)</option>
 </select>
 <br>
-<input type=checkbox name=queue>Queue request (experimental)
-<br>
 <span id=csvhint style="display:none;">Make sure you select "Charset: UTF-8" and "Separated by: Coma" when you <a href="/oocalc_howto.png">choose import options</a>.<br></span>
 <input type=submit value=Get>
 </form>