summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhang Chen2020-10-16 07:52:08 +0200
committerJason Wang2020-11-11 09:52:23 +0100
commit2f2fcff323349b6d4ffe00e897f8efb507f071b9 (patch)
tree65f66a95d65f81d0788d8eddbdb707148a4382e1
parentnet/colo-compare.c: Add secondary old packet detection (diff)
downloadqemu-2f2fcff323349b6d4ffe00e897f8efb507f071b9.tar.gz
qemu-2f2fcff323349b6d4ffe00e897f8efb507f071b9.tar.xz
qemu-2f2fcff323349b6d4ffe00e897f8efb507f071b9.zip
net/colo-compare.c: Increase default queued packet scan frequency
In my test, use this default parameter looks better. Signed-off-by: Zhang Chen <chen.zhang@intel.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
-rw-r--r--net/colo-compare.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/colo-compare.c b/net/colo-compare.c
index 0c87fd9e33..337025b44f 100644
--- a/net/colo-compare.c
+++ b/net/colo-compare.c
@@ -52,7 +52,7 @@ static NotifierList colo_compare_notifiers =
#define COLO_COMPARE_FREE_PRIMARY 0x01
#define COLO_COMPARE_FREE_SECONDARY 0x02
-#define REGULAR_PACKET_CHECK_MS 3000
+#define REGULAR_PACKET_CHECK_MS 1000
#define DEFAULT_TIME_OUT_MS 3000
/* #define DEBUG_COLO_PACKETS */