Skip to content

Commit ad94cf0

Browse files
authored
chore: ipfs add more timeout (#11)
1 parent 247f001 commit ad94cf0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

push-to-ipfs/scripts/push_on_ipfs.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ def raise_no_cid():
2626

2727

2828
async def upload_site(files: list[Path], multiaddr: Multiaddr) -> CID:
29-
client = aioipfs.AsyncIPFS(maddr=multiaddr)
29+
client = aioipfs.AsyncIPFS(
30+
maddr=multiaddr,
31+
read_timeout=900,
32+
)
3033

3134
try:
3235
cid = None

0 commit comments

Comments
 (0)