• Julien Cristau's avatar
    Fix check for whether /tracker/data/json needs to be recomputed · 0186cfff
    Julien Cristau authored
    In commit 49e287d2 "tracker_service:
    send a Last-Modified header for /tracker/data/json" I made the
    json_timestamp update conditional on whether the data had changed.  That
    meant that after a few minutes, we would consider the data to be always
    stale, and recompute it every single time, as long as it didn't change.
    To fix this, use separate timestamps for "when did we check last"
    (json_timestamp) and "when did it change last" (json_last_modified).
tracker_service.py 77.7 KB