change back the interval to 60, and double ipfs interval

pull/11/head
Konstantine Tsafatinos 2023-07-21 18:57:28 -04:00
parent 70c13c242a
commit 469e90e650
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ class SkynetDiscordFrontend:
tx_hash = None tx_hash = None
ipfs_hash = None ipfs_hash = None
for i in range(120): for i in range(60):
try: try:
submits = await self.hyperion.aget_actions( submits = await self.hyperion.aget_actions(
account=self.account, account=self.account,

View File

@ -27,7 +27,7 @@ class IPFSHTTP:
async def get_ipfs_file(ipfs_link: str): async def get_ipfs_file(ipfs_link: str):
logging.info(f'attempting to get image at {ipfs_link}') logging.info(f'attempting to get image at {ipfs_link}')
resp = None resp = None
for i in range(10): for i in range(20):
try: try:
resp = await asks.get(ipfs_link, timeout=3) resp = await asks.get(ipfs_link, timeout=3)