Remove more cheat debugging and useless output
This commit is contained in:
parent
a064e65068
commit
a639b32727
|
@ -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):
|
||||
|
|
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue