Client side caching: show tracking slots usage in INFO.

This commit is contained in:
antirez
2019-07-23 11:02:14 +02:00
parent 9268493e8d
commit c98e7717bb
3 changed files with 11 additions and 2 deletions

View File

@ -288,3 +288,9 @@ void trackingLimitUsedSlots(void) {
}
timeout_counter++;
}
/* This is just used in order to access the amount of used slots in the
* tracking table. */
unsigned long long trackingGetUsedSlots(void) {
return TrackingTableUsedSlots;
}