private Duration getRequestTimeout(SamzaResourceRequest request) {
    Optional<Duration> controlActionRequestExpiryTimeout = containerManager.getActionExpiryTimeout(request);
    return controlActionRequestExpiryTimeout.orElse(Duration.ofMillis(configuredRequestExpiryTimeout));
  }
Determines the request expiry timeout. Container placement actions like move, restarts can optionally override
request expiry timeout. Otherwise it defaults to { @code configuredRequestExpiryTimeout }
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerAllocator.java