| ... | ... | @@ -2,7 +2,11 @@ |
|
|
|
graph TD
|
|
|
|
A[Automatic subscriptions caching] --> L
|
|
|
|
L[For each subscription] --> K
|
|
|
|
K[For each unprocessed new media] --> C
|
|
|
|
L --> |No more subscription| Z
|
|
|
|
K[For each unprocessed new media] --> M
|
|
|
|
M{Is cache size reached for the current pass?}
|
|
|
|
M -->|Yes| Z
|
|
|
|
M -->|No| C
|
|
|
|
C{Is max nb items reached?}
|
|
|
|
C -->|Yes| D[Evict oldest media in this subscription] --> G
|
|
|
|
C -->|No| G
|
| ... | ... | @@ -12,4 +16,5 @@ graph TD |
|
|
|
J[Cache new media]
|
|
|
|
J --> K
|
|
|
|
J --> |No more media| L
|
|
|
|
Z[Done]
|
|
|
|
``` |
|
|
\ No newline at end of file |