Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hehechen committed Nov 9, 2021
1 parent 933ec28 commit d787e3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion dbms/src/Core/Defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

#define PLATFORM_NOT_SUPPORTED "The only supported platforms are x86_64 and AArch64 (work in progress)"

#define DEFAULT_MARK_CACHE_SIZE 5368709120
#define DEFAULT_MARK_CACHE_SIZE (5ULL * 1024 * 1024 * 1024)

#define DEFAULT_METRICS_PORT 8234

Expand Down
12 changes: 6 additions & 6 deletions dbms/src/Server/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,12 @@ struct TiFlashProxyConfig
std::unordered_map<std::string, std::string> val_map;
bool is_proxy_runnable = false;

const char * engine_store_version = "engine-version";
const char * engine_store_git_hash = "engine-git-hash";
const char * engine_store_address = "engine-addr";
const char * engine_store_advertise_address = "advertise-engine-addr";
const char * pd_endpoints = "pd-endpoints";
const char * addr = "addr";
const String engine_store_version = "engine-version";
const String engine_store_git_hash = "engine-git-hash";
const String engine_store_address = "engine-addr";
const String engine_store_advertise_address = "advertise-engine-addr";
const String pd_endpoints = "pd-endpoints";
const String addr = "addr";

explicit TiFlashProxyConfig(Poco::Util::LayeredConfiguration & config)
{
Expand Down

0 comments on commit d787e3d

Please sign in to comment.