update known issues

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2020-07-27 14:19:49 +02:00
parent e22d7278f0
commit 43db8cc7e1
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
2 changed files with 3 additions and 0 deletions

View File

@ -70,3 +70,5 @@ docker build -t statusteam/auto-sticker-pinner:latest .
* Currently IPFS Cluster API does not expose any info about possible pinning errors
- We run `GET /pin/{chash}` to check if it was pinned as an alternative
* Checking pin status for a cluster returns multiple statuses
- We check if all of them are of certain type, and ignore other mixed states

View File

@ -22,6 +22,7 @@ class IpfsPinner:
peer in self.ls(chash)['peer_map'].values()
]
# See: https://cluster.ipfs.io/documentation/guides/pinning/
def status(self, chash):
statuses = self.statuses(chash)
if all(s == 'pinned' for s in statuses):