Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ngsi_arcgis_featuretable_sink.md #2431

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Update ngsi_arcgis_featuretable_sink.md #2431

merged 1 commit into from
Oct 29, 2024

Conversation

AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Oct 29, 2024

timeoutSecs = context.getInteger("arcgis_timeoutSecs", DEFAULT_BATCH_TIMEOUT_SECS);
if (timeoutSecs <= 0 || timeoutSecs > 65535) {
invalidConfiguration = true;
LOGGER.error("[" + this.getName() + "] Invalid configuration (arcgis_timeoutSecs=" + timeoutSecs + ") "
+ "must be an integer between 1 and 65535");
} else {
LOGGER.debug("[" + this.getName() + "] Reading configuration (arcgis_timeoutSecs=" + maxBatchSize + ")");
}

if (table.hasTimeout()) {
timeoutFound = true;
LOGGER.info("[" + this.getName() + "] Feature table Timeout, flushing batch. " + entry.getKey());
table.flushBatch();

@AlvaroVega AlvaroVega requested a review from fgalan October 29, 2024 09:09
Copy link
Member

@fgalan fgalan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fgalan fgalan merged commit 640c44d into master Oct 29, 2024
7 checks passed
@fgalan fgalan deleted the AlvaroVega-patch-1 branch October 29, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants