From cd0524062417e6e22157c9f070e84deecf401d3b Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 7 Aug 2018 14:16:09 +0200 Subject: [PATCH] RedisWriter: dump period_checksum for users --- lib/redis/rediswriter-objects.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/redis/rediswriter-objects.cpp b/lib/redis/rediswriter-objects.cpp index 3d747b8f5..e7e49e525 100644 --- a/lib/redis/rediswriter-objects.cpp +++ b/lib/redis/rediswriter-objects.cpp @@ -235,6 +235,11 @@ void RedisWriter::SendConfigUpdate(const ConfigObject::Ptr& object, bool useTran } checkSums->Set("group_checksums", groupChecksums); + + auto period (user->GetPeriod()); + + if (period) + checkSums->Set("period_checksum", GetObjectIdentifier(period)); } /* Calculate checkable checksums. */