diff options
author | Matěj Cepl <mcepl@redhat.com> | 2011-05-21 18:27:50 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@redhat.com> | 2011-06-05 14:53:47 +0200 |
commit | 9954df923e6b54a4cf6bf66c5eaa1306197c21bc (patch) | |
tree | 2e09eb8c0a8047ba1fb90bb63acd9dd80c4a4287 /lib | |
parent | 91cbbc6176fcb8264f63de5eb28693cb5c4c04cb (diff) | |
download | bugzilla-triage-9954df923e6b54a4cf6bf66c5eaa1306197c21bc.tar.gz |
Revert [e6762f8883], we actually want caching.
See #21 for the original discussion. Lately JSON configuration is more or
less stable, so we actually want caching.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libbugzilla.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/libbugzilla.js b/lib/libbugzilla.js index de93531..c2ee51d 100644 --- a/lib/libbugzilla.js +++ b/lib/libbugzilla.js @@ -385,11 +385,6 @@ exports.initialize = function initialize(config, callback) { debugOption = preferences.get(prefDebugName, false); preferences.set(prefDebugName, debugOption); - // Randomize URL to avoid caching - // TODO see https://fedorahosted.org/bugzilla-triage-scripts/ticket/21 - // for more thorough discussion and possible further improvement - urlStr += (urlStr.match(/\?/) == null ? "?" : "&") + (new Date()).getTime(); - Request({ url: urlStr, onComplete: function (response) { |