From ef70f6a108dfecb3305b8cae4dc6b8a84898109b Mon Sep 17 00:00:00 2001 From: spinlock Date: Tue, 28 Mar 2017 15:46:49 +0800 Subject: [PATCH] topom: set migration_async_numkeys=500 as default --- config/dashboard.toml | 2 +- pkg/topom/config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/dashboard.toml b/config/dashboard.toml index b624efcfb..aba13af9d 100644 --- a/config/dashboard.toml +++ b/config/dashboard.toml @@ -21,7 +21,7 @@ migration_method = "semi-async" migration_parallel_slots = 100 migration_async_maxbulks = 200 migration_async_maxbytes = "32mb" -migration_async_numkeys = 100 +migration_async_numkeys = 500 migration_timeout = "30s" # Set configs for redis sentinel. diff --git a/pkg/topom/config.go b/pkg/topom/config.go index cb5b08398..13de0624d 100644 --- a/pkg/topom/config.go +++ b/pkg/topom/config.go @@ -38,7 +38,7 @@ migration_method = "semi-async" migration_parallel_slots = 100 migration_async_maxbulks = 200 migration_async_maxbytes = "32mb" -migration_async_numkeys = 100 +migration_async_numkeys = 500 migration_timeout = "30s" # Set configs for redis sentinel.