Project

General

Profile

Actions

Bug #16870

closed

server_status to call CandlepinPing.ping just once

Added by Pavel Moravec over 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Subscriptions
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Getting katello status fetches data from Candlepin redundantly many times. See https://github.com/Katello/katello/blob/master/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb#L238.

Let call the Katello::Resources::Candlepin::CandlepinPing.ping just once and store it in a variable referred later on.

Actions

Also available in: Atom PDF