sfc-gh-ncover commented on code in PR #9858:
URL: https://github.com/apache/nifi/pull/9858#discussion_r2033732834
##########
nifi-extension-bundles/nifi-box-bundle/nifi-box-processors/src/main/java/org/apache/nifi/processors/box/FetchBoxFileRepresentation.java:
##########
@@ -120,6 +120,13 @@ public class FetchBoxFileRepresentation extends
AbstractProcessor implements Ver
REL_REPRESENTATION_NOT_FOUND
);
+ /*
+ * The maximum number of retries for polling the status of the generated
representation.
+ * Each retry waits for 100 milliseconds before the next attempt, set in
the Box SDK.
+ * Total wait time is 5 seconds.
+ */
+ public static final int MAX_RETRIES = 50;
Review Comment:
Oops, nope. Fixed thanks
##########
nifi-extension-bundles/nifi-box-bundle/nifi-box-processors/src/main/java/org/apache/nifi/processors/box/FetchBoxFileRepresentation.java:
##########
@@ -120,6 +120,13 @@ public class FetchBoxFileRepresentation extends
AbstractProcessor implements Ver
REL_REPRESENTATION_NOT_FOUND
);
+ /*
+ * The maximum number of retries for polling the status of the generated
representation.
+ * Each retry waits for 100 milliseconds before the next attempt, set in
the Box SDK.
+ * Total wait time is 5 seconds.
+ */
+ public static final int MAX_RETRIES = 50;
Review Comment:
Oops, nope. Fixed thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]