summaryrefslogtreecommitdiff
path: root/src/server.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2020-02-12 19:22:04 +0100
committerantirez <antirez@gmail.com>2020-02-12 19:22:04 +0100
commit40194a2a6809520b5f01da4a7b41afe2a2441f64 (patch)
treeeb7ae44d4225f2b3f0e7ea774710246251b7feb6 /src/server.c
parent71f3f3f1afe4fbb6f8634970258b5dec2d389c68 (diff)
downloadredis-40194a2a6809520b5f01da4a7b41afe2a2441f64.tar.gz
Tracking: BCAST: basic feature now works.
Diffstat (limited to 'src/server.c')
-rw-r--r--src/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server.c b/src/server.c
index 1001fa4f7..22c81070c 100644
--- a/src/server.c
+++ b/src/server.c
@@ -2124,6 +2124,10 @@ void beforeSleep(struct aeEventLoop *eventLoop) {
if (listLength(server.unblocked_clients))
processUnblockedClients();
+ /* Send the invalidation messages to clients participating to the
+ * client side caching protocol in broadcasting (BCAST) mode. */
+ trackingBroadcastInvalidationMessages();
+
/* Write the AOF buffer on disk */
flushAppendOnlyFile(0);