Skip to content
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.

Commit

Permalink
Fixes #99: set Farmer request error (2000) as a temporary error. (#101
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kaloyan-raev authored Feb 9, 2018
1 parent 685c11d commit 8ae772e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>io.goobox</groupId>
<artifactId>goobox-sync-storj</artifactId>
<version>0.0.20</version>
<version>0.0.21</version>
<packaging>jar</packaging>

<name>Goobox sync app for Storj</name>
Expand Down Expand Up @@ -62,7 +62,7 @@
<dependency>
<groupId>io.storj</groupId>
<artifactId>libstorj-java</artifactId>
<version>0.6.1</version>
<version>0.6.2</version>
</dependency>
<dependency>
<groupId>net.harawata</groupId>
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/io/goobox/sync/storj/StorjUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public static boolean isTemporaryError(int code) {
case Storj.STORJ_BRIDGE_POINTER_ERROR:
case Storj.STORJ_BRIDGE_REPOINTER_ERROR:
case Storj.STORJ_BRIDGE_OFFER_ERROR:
case Storj.STORJ_FARMER_REQUEST_ERROR:
case Storj.STORJ_FARMER_TIMEOUT_ERROR:
return true;
default:
return false;
Expand Down

0 comments on commit 8ae772e

Please sign in to comment.