{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1630","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1630/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1630/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1630/events","html_url":"https://github.com/ipfs/go-ipfs/issues/1630","id":104002021,"number":1630,"title":"Error: pin: context deadline exceeded","user":{"login":"davidar","id":24291,"avatar_url":"https://avatars.githubusercontent.com/u/24291?v=3","gravatar_id":"","url":"https://api.github.com/users/davidar","html_url":"https://github.com/davidar","followers_url":"https://api.github.com/users/davidar/followers","following_url":"https://api.github.com/users/davidar/following{/other_user}","gists_url":"https://api.github.com/users/davidar/gists{/gist_id}","starred_url":"https://api.github.com/users/davidar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidar/subscriptions","organizations_url":"https://api.github.com/users/davidar/orgs","repos_url":"https://api.github.com/users/davidar/repos","events_url":"https://api.github.com/users/davidar/events{/privacy}","received_events_url":"https://api.github.com/users/davidar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-31T07:31:01Z","updated_at":"2015-09-02T05:41:41Z","closed_at":null,"body":"Pinning seems to time out on large (10GB) directories:\r\n\r\n```sh\r\n# load into cache\r\n$ ipfs refs -r QmYaFMPTgDkwp3vun6o3zfVv6gFwDWVSJWwZQHieXj1Ys6\r\n<snip>\r\n# make sure it's definitely cached\r\n$ ipfs get QmYaFMPTgDkwp3vun6o3zfVv6gFwDWVSJWwZQHieXj1Ys6\r\n\r\n$ ipfs pin add -r QmYaFMPTgDkwp3vun6o3zfVv6gFwDWVSJWwZQHieXj1Ys6\r\nError: pin: context deadline exceeded\r\n```\r\n\r\nAffects: ipfs/archives#2\r\n\r\nEdit: Actually, it would also be nice if you didn't have to do the caching step separately (i.e. make pin act like get, but without actually creating files in the current directory)."},"comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments/136942023","html_url":"https://github.com/ipfs/go-ipfs/issues/1630#issuecomment-136942023","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/1630","id":136942023,"user":{"login":"davidar","id":24291,"avatar_url":"https://avatars.githubusercontent.com/u/24291?v=3","gravatar_id":"","url":"https://api.github.com/users/davidar","html_url":"https://github.com/davidar","followers_url":"https://api.github.com/users/davidar/followers","following_url":"https://api.github.com/users/davidar/following{/other_user}","gists_url":"https://api.github.com/users/davidar/gists{/gist_id}","starred_url":"https://api.github.com/users/davidar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidar/subscriptions","organizations_url":"https://api.github.com/users/davidar/orgs","repos_url":"https://api.github.com/users/davidar/repos","events_url":"https://api.github.com/users/davidar/events{/privacy}","received_events_url":"https://api.github.com/users/davidar/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T05:41:40Z","updated_at":"2015-09-02T05:41:40Z","body":"@whyrusleeping A minute or two before error, I guess (refs -r also takes a while just to list blocks from the cache). I can time it exactly later today if that would help."}}