#1756 frontend: drop an unused pagure_events.py knob
Closed 2 years ago by praiskup. Opened 2 years ago by praiskup.
Unknown source pagure-events-testonly  into  main

@@ -29,13 +29,7 @@

  ]

  

  log = logging.getLogger(__name__)

- if os.getenv('PAGURE_EVENTS_TESTONLY'):

-     ENDPOINT = 'tcp://stg.pagure.io:9940'

- else:

-     ENDPOINT = 'tcp://hub.fedoraproject.org:9940'

- 

  log.setLevel(logging.DEBUG)

- log.info("ENDPOINT = {}".format(ENDPOINT))

  

  TOPICS = {}

  for topic, url in app.config["PAGURE_EVENTS"].items():

Build succeeded.

I am not particularly sure how it fixes #667 but the ENDPOINT is indeed not used, so we can IMHO drop it.

+1

I am not particularly sure how it fixes #667

It doesn't really "fix" that, but it closes that chapter ... with 667 I wanted to
assure that stage instance listens also for the stage Pagure events.

Ok, "Closes" keyword works as well, so used that one. Thank you for the review.

Pull-Request has been closed by praiskup

2 years ago
Metadata