pvillard31 commented on code in PR #11938:
URL: https://github.com/apache/nifi/pull/11938#discussion_r4612340535


##########
nifi-toolkit/nifi-toolkit-cli/src/main/java/org/apache/nifi/toolkit/cli/impl/command/nifi/nar/UploadNar.java:
##########
@@ -99,8 +99,8 @@ private NarSummaryEntity uploadNar(final ControllerClient 
controllerClient, fina
 
     protected int getProcessingTimeout(final Properties properties) {
         try {
-            final Integer updateTimeoutSeconds = getIntArg(properties, 
CommandOption.UPDATE_TIMEOUT);
-            return updateTimeoutSeconds == null ? DEFAULT_TIMEOUT_SECONDS : 
updateTimeoutSeconds;
+            final Integer narUploadTimeoutSeconds = getIntArg(properties, 
CommandOption.NAR_UPLOAD_TIMEOUT);

Review Comment:
   Should we also update the description of `NAR_UPLOAD_TIMEOUT` in 
`CommandOption`, since it still says "parameter context update" instead of NAR 
processing?



-- 
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]

Reply via email to