Skip to content

Commit

Permalink
Add query id to processing pool thread name. (#15059)
Browse files Browse the repository at this point in the history
This patch changes the thread name of the processing pool of the indexers/peons/historicals from query.getType() + "_" + query.getDataSource() + "_" + query.getIntervals() to query.getId()
  • Loading branch information
cryptoe authored Oct 10, 2023
1 parent fda8d2b commit 48f35b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public Sequence<T> run(final QueryPlus<T> input, final ResponseContext responseC

final Thread currThread = setName ? Thread.currentThread() : null;
final String currThreadName = setName ? currThread.getName() : null;
final String newName = setName ? query.getType() + "_" + query.getDataSource() + "_" + query.getIntervals() : null;
final String newName = setName ? "processing_" + query.getId() : null;

final Sequence<T> baseSequence;

Expand Down

0 comments on commit 48f35b3

Please sign in to comment.