Remove more cheat debugging and useless output

This commit is contained in:
Mark Veidemanis 2022-02-13 22:20:09 +00:00
parent b3e71f84d1
commit 3c1cbf1d94
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 4 additions and 4 deletions

View File

@ -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):

View File

@ -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]