lib/scout/server.rb in scout-5.5.9.pre.2 vs lib/scout/server.rb in scout-5.5.9
- old
+ new
@@ -57,10 +57,10 @@
end
def refresh?
return true if !ping_key or account_public_key_changed? # fetch the plan again if the account key is modified/created
- url=URI.join( @server.sub("https://","http://"), "/clients/#{ping_key}/ping.scout?#{Time.now.to_i}")
+ url=URI.join( @server.sub("https://","http://"), "/clients/#{ping_key}/ping.scout")
headers = {"x-scout-tty" => ($stdin.tty? ? 'true' : 'false')}
if @history["plan_last_modified"] and @history["old_plugins"]
headers["If-Modified-Since"] = @history["plan_last_modified"]
end