|
|
|
```mermaid
|
|
|
|
graph TD
|
|
|
|
A[Automatic subscriptions caching] --> L
|
|
|
|
L[For each subscription] --> K
|
|
|
|
K[For each unprocessed new media] --> C
|
|
|
|
C{Is max nb items reached?}
|
|
|
|
C -->|Yes| D[Evict oldest media in this subscription] --> G
|
|
|
|
C -->|No| G
|
|
|
|
G[Check maximum cache size] --> H{Is max cache size reached?}
|
|
|
|
H -->|Yes| I[Evict oldest overall media] --> J
|
|
|
|
H -->|No| J
|
|
|
|
J[Cache new media]
|
|
|
|
J --> K
|
|
|
|
J --> |No more media| L
|
|
|
|
``` |
|
|
\ No newline at end of file |