Initialize client and flow knobs
This commit is contained in:
parent
b1e3478267
commit
b46384e1b8
|
@ -23,8 +23,8 @@
|
|||
#include "fdbclient/SystemData.h"
|
||||
#include "flow/UnitTest.h"
|
||||
|
||||
std::unique_ptr<ClientKnobs> globalClientKnobs{};
|
||||
ClientKnobs const* CLIENT_KNOBS = nullptr;
|
||||
std::unique_ptr<ClientKnobs> globalClientKnobs = std::make_unique<ClientKnobs>();
|
||||
ClientKnobs const* CLIENT_KNOBS = globalClientKnobs.get();
|
||||
|
||||
#define init( knob, value ) initKnob( knob, value, #knob )
|
||||
|
||||
|
|
|
@ -23,8 +23,8 @@
|
|||
#include <cmath>
|
||||
#include <cinttypes>
|
||||
|
||||
std::unique_ptr<FlowKnobs> globalFlowKnobs{};
|
||||
FlowKnobs const* FLOW_KNOBS = nullptr;
|
||||
std::unique_ptr<FlowKnobs> globalFlowKnobs = std::make_unique<FlowKnobs>();
|
||||
FlowKnobs const* FLOW_KNOBS = globalFlowKnobs.get();
|
||||
|
||||
#define init( knob, value ) initKnob( knob, value, #knob )
|
||||
|
||||
|
|
Loading…
Reference in New Issue