home
/
code
/
tt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8b29fb
)
Add cache expiration TODO
author
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 26 Nov 2021 22:33:09 +0000
(17:33 -0500)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 26 Nov 2021 22:33:09 +0000
(17:33 -0500)
tt.rkt
patch
|
blob
|
blame
|
history
diff --git
a/tt.rkt
b/tt.rkt
index
19397e2
..
0a1e6fd
100644
(file)
--- a/
tt.rkt
+++ b/
tt.rkt
@@
-566,6
+566,7
@@
(match-define (Peer nick uri _) peer)
(log-debug "Reading peer nick:~v uri:~v" nick (url->string uri))
(define msgs-data (uri-read-cached uri))
+ ; TODO Expire cache
(if msgs-data
(str->msgs nick uri msgs-data)
'()))
@@
-642,6
+643,7
@@
(: mentioned-peers-in-cache (-> (Listof Peer)))
(define (mentioned-peers-in-cache)
+ ; TODO Expire cache
(define msgs
(append* (map (λ (filename)
(define path (build-path cache-object-dir filename))
This page took
0.028212 seconds
and
4
git commands to generate.