Project

General

Profile

Bug #21340

multiple settings lookup for http proxy for every UI action

Added by Ohad Levy over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

in the logs i see multiple times per request:

13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]
13:41:37 rails.1   | 2017-10-16T13:41:37 83156aca [sql] [D]   CACHE (0.0ms)  SELECT  "settings".* FROM "settings" WHERE "settings"."name" = ? ORDER BY "settings"."name" ASC LIMIT ?  [["name", "http_proxy"], ["LIMIT", 1]]


Related issues

Related to Foreman - Feature #20201: Global HTTP proxy for outgoing requestsClosed

History

#1 Updated by Ohad Levy over 2 years ago

  • Related to Feature #12216: allow compute resource connections to use a proxy added

#2 Updated by Timo Goebel over 2 years ago

  • Related to Feature #20201: Global HTTP proxy for outgoing requests added

#3 Updated by Timo Goebel over 2 years ago

  • Related to deleted (Feature #12216: allow compute resource connections to use a proxy)

Also available in: Atom PDF