blob: 37f90bcaada4e36abeab322b1dfb9266330632a4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "dropped_tagger.h"
namespace vbench {
DroppedTagger::DroppedTagger(Handler<Request> &next)
: _next(next)
{
}
void
DroppedTagger::handle(Request::UP request)
{
request->status(Request::STATUS_DROPPED);
_next.handle(std::move(request));
}
} // namespace vbench
|