Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
  • Loading branch information
kaushalmahi12 committed Jul 1, 2024
1 parent dd16b2c commit ddff506
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ public ThreadContext(Settings settings) {
this.threadLocal = ThreadLocal.withInitial(() -> DEFAULT_CONTEXT);
this.maxWarningHeaderCount = SETTING_HTTP_MAX_WARNING_HEADER_COUNT.get(settings);
this.maxWarningHeaderSize = SETTING_HTTP_MAX_WARNING_HEADER_SIZE.get(settings).getBytes();
this.propagators = new CopyOnWriteArrayList<>(List.of(new TaskThreadContextStatePropagator(), new QueryGroupThreadContextStatePropagator()));
this.propagators = new CopyOnWriteArrayList<>(
List.of(new TaskThreadContextStatePropagator(), new QueryGroupThreadContextStatePropagator())
);
}

public void registerThreadContextStatePropagator(final ThreadContextStatePropagator propagator) {
Expand Down

0 comments on commit ddff506

Please sign in to comment.