mirror of https://github.com/apache/nifi.git
NIFI-730: Set current queue size on drop flowfile request immediately when creating request
This commit is contained in:
parent
cad0e7cf0f
commit
98a04eec74
|
@ -938,6 +938,7 @@ public final class StandardFlowFileQueue implements FlowFileQueue {
|
||||||
}
|
}
|
||||||
|
|
||||||
final DropFlowFileRequest dropRequest = new DropFlowFileRequest(requestIdentifier);
|
final DropFlowFileRequest dropRequest = new DropFlowFileRequest(requestIdentifier);
|
||||||
|
dropRequest.setCurrentSize(size());
|
||||||
final Thread t = new Thread(new Runnable() {
|
final Thread t = new Thread(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
Loading…
Reference in New Issue