change default net speed from 1000Mbit to 10000Mbit

This commit is contained in:
496148326@qq.com 2024-03-13 09:04:52 +00:00 committed by ob-robot
parent 47d4d52bfa
commit e3f9425953

View File

@ -107,7 +107,7 @@ namespace observer
class ObServer
{
public:
static const int64_t DEFAULT_ETHERNET_SPEED = 1000 / 8 * 1024 * 1024; // default 125m/s 1000Mbit
static const int64_t DEFAULT_ETHERNET_SPEED = 10000 / 8 * 1024 * 1024; // change from default 125m/s 1000Mbit to 1250MBps 10000Mbit
static const int64_t DISK_USAGE_REPORT_INTERVAL = 1000L * 1000L * 300L; // 5min
static const uint64_t DEFAULT_CPU_FREQUENCY = 2500 * 1000; // 2500 * 1000 khz
static ObServer &get_instance();