mirror of https://github.com/skygpu/skynet.git
				
				
				
			change back the interval to 60, and double ipfs interval
							parent
							
								
									70c13c242a
								
							
						
					
					
						commit
						469e90e650
					
				| 
						 | 
				
			
			@ -194,7 +194,7 @@ class SkynetDiscordFrontend:
 | 
			
		|||
 | 
			
		||||
        tx_hash = None
 | 
			
		||||
        ipfs_hash = None
 | 
			
		||||
        for i in range(120):
 | 
			
		||||
        for i in range(60):
 | 
			
		||||
            try:
 | 
			
		||||
                submits = await self.hyperion.aget_actions(
 | 
			
		||||
                    account=self.account,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,7 +27,7 @@ class IPFSHTTP:
 | 
			
		|||
async def get_ipfs_file(ipfs_link: str):
 | 
			
		||||
    logging.info(f'attempting to get image at {ipfs_link}')
 | 
			
		||||
    resp = None
 | 
			
		||||
    for i in range(10):
 | 
			
		||||
    for i in range(20):
 | 
			
		||||
        try:
 | 
			
		||||
            resp = await asks.get(ipfs_link, timeout=3)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue