mirror of
https://github.com/sogou/workflow.git
synced 2026-10-28 02:56:43 +08:00
move a macro to cpp
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#include "ServiceGovernance.h"
|
||||
#include "UpstreamManager.h"
|
||||
|
||||
#define GET_CURRENT_SECOND std::chrono::duration_cast<std::chrono::seconds>(std::chrono::steady_clock::now().time_since_epoch()).count()
|
||||
|
||||
#define DNS_CACHE_LEVEL_1 1
|
||||
#define DNS_CACHE_LEVEL_2 2
|
||||
|
||||
|
||||
@@ -33,8 +33,6 @@
|
||||
#define MTTR_SECOND_DEFAULT 30
|
||||
#define VIRTUAL_GROUP_SIZE 16
|
||||
|
||||
#define GET_CURRENT_SECOND std::chrono::duration_cast<std::chrono::seconds>(std::chrono::steady_clock::now().time_since_epoch()).count()
|
||||
|
||||
struct AddressParams
|
||||
{
|
||||
struct EndpointParams endpoint_params; ///< Connection config
|
||||
|
||||
Reference in New Issue
Block a user