diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-23 10:38:06 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-23 10:38:06 +1000 |
| commit | 04cfeaf01c5ea830b1caa1a442a864019a02ce39 (patch) | |
| tree | 7c26f71b62beb692fa441a6e9bde4fcb5c75f12e /templates | |
| parent | 6eefc5ea2a450d868ecb18465eafea7e8bdb9693 (diff) | |
hide expired cache shit
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/mod/debug/apc.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mod/debug/apc.html b/templates/mod/debug/apc.html index fde0979b..e8733af8 100644 --- a/templates/mod/debug/apc.html +++ b/templates/mod/debug/apc.html @@ -6,7 +6,7 @@ <th class="minimal">Expires</th> <th class="minimal">Size</th> </tr> - {% for var in cached_vars %} + {% for var in cached_vars if (var.ctime is defined ? var.ctime : var.creation_time) + var.ttl > time() %} <tr> <td class="minimal">{{ var.key is defined ? var.key : var.info }}</td> <td class="minimal">{{ var.nhits is defined ? var.nhits : var.num_hits }}</td> |
