in aws-codepipeline-server/src/main/java/jetbrains/buildServer/buildTriggers/codepipeline/CodePipelineAsyncPolledBuildTrigger.java [153:161]
public int getPollInterval(@NotNull PolledTriggerContext context) {
try {
final String pollInterval = context.getBuildType().getConfigParameters().get(POLL_INTERVAL_CONFIG_PARAM);
if (pollInterval != null) return Integer.parseInt(pollInterval);
} catch (NumberFormatException e) {
LOG.warn(msgForBt("Unexpected custom poll interval value provided by " + POLL_INTERVAL_CONFIG_PARAM + " configuration parameter: " + e.getMessage(), context.getBuildType()));
}
return PolledBuildTrigger.DEFAULT_POLL_TRIGGER_INTERVAL;
}