Tracking: BCAST: basic feature now works.

This commit is contained in:
antirez
2020-02-12 19:22:04 +01:00
parent d4fe79a174
commit 6fb1aa2381
3 changed files with 55 additions and 40 deletions

View File

@ -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);