diff --git a/handler/agora.py b/handler/agora.py index baa9949..97d17c5 100644 --- a/handler/agora.py +++ b/handler/agora.py @@ -514,7 +514,7 @@ class Agora(object): iterations += 1 if iterations == 0: self.log.info("Slow ad update finished, no ads to update") - self.irc.sendmsg("Slow ad update finished, no ads to update") + # self.irc.sendmsg("Slow ad update finished, no ads to update") else: self.log.info( "Slow ad update completed with {iterations} iterations: [{assets}] | [{currencies}]", @@ -522,7 +522,7 @@ class Agora(object): assets=", ".join(assets), currencies=", ".join(currencies), ) - self.irc.sendmsg(f"Slow ad update completed with {iterations} iterations: [{', '.join(assets)}] | [{', '.join(currencies)}]") + # self.irc.sendmsg(f"Slow ad update completed with {iterations} iterations: [{', '.join(assets)}] | [{', '.join(currencies)}]") @handle_exceptions def nuke_ads(self): diff --git a/handler/markets.py b/handler/markets.py index 0ebbb1c..4559c75 100644 --- a/handler/markets.py +++ b/handler/markets.py @@ -55,7 +55,7 @@ class Markets(object): try: public_ads_currency = public_ads[currency] except KeyError: - self.log.error("Error getting public ads for currency {currency}", currency=currency) + # self.log.error("Error getting public ads for currency {currency}", currency=currency) if currency == "USD": self.log.error("Error getting public ads for currency USD, aborting") break @@ -71,7 +71,7 @@ class Markets(object): if not our_ads: continue new_margin = self.autoprice(public_ads_filtered, currency) - self.log.info("New rate for {currency}: {rate}", currency=currency, rate=new_margin) + # self.log.info("New rate for {currency}: {rate}", currency=currency, rate=new_margin) new_formula = f"coingecko{asset.lower()}usd*usd{currency.lower()}*{new_margin}" for ad in our_ads: ad_id = ad[0]