Skip to content

Commit

Permalink
Issue #203: Refactor-Extensions-code-to-check-protocol-efficiently
Browse files Browse the repository at this point in the history
* Reverted untested changes
  • Loading branch information
NassimBtk committed Jun 5, 2024
1 parent 0681744 commit 05c7654
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 67 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
log4j2.isThreadContextMapInheritable=true
log4j2.asyncLoggerRingBufferSize=32768
log4j2.asyncLoggerWaitStrategy=Sleep
log4j2.isThreadContextMapInheritable=true
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public class MetricsHubConstants {
/**
* Thread Timeout
*/
public static final long THREAD_TIMEOUT = 2 * 60L; // 15 minutes
public static final long THREAD_TIMEOUT = 15 * 60L; // 15 minutes

// MetricsHub / OpenTelemetry mappings

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ protected void processSourcesAndComputes(
.build()
.run(() -> runSource(connectorId, attributes, source, previousSourceTable));

if (sourceTable == null || (sourceTable.getTable() == null && sourceTable.getRawData() == null)) {
if (sourceTable == null) {
log.warn(
"Hostname {} - Received null source table for Source key {} - Connector {} - Monitor {}.",
hostname,
Expand Down
Loading

0 comments on commit 05c7654

Please sign in to comment.