diff options
| author | Scott Ostler <scottbot9000@gmail.com> | 2011-02-22 22:43:12 -0500 |
|---|---|---|
| committer | Scott Ostler <scottbot9000@gmail.com> | 2011-02-22 22:43:12 -0500 |
| commit | d32249280579d0ec11a57b40a49b3389ca887847 (patch) | |
| tree | 46ad640fc8fde2071892162de3715de4b0c58050 /src/site.clj | |
| parent | 92fc288f6200ff0c8943cde89c62f675862cb1fa (diff) | |
Remove unused ttl-memoize
Diffstat (limited to 'src/site.clj')
| -rw-r--r-- | src/site.clj | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/site.clj b/src/site.clj index 6fce880..beb8a73 100644 --- a/src/site.clj +++ b/src/site.clj @@ -459,12 +459,6 @@ WHERE user_id IN (assoc (stringify-and-escape entry) "score_ent" (score-to-entity (:score entry)))) - -(def directory-cache-ttl (minutes 10)) -(def memoized-lookup-recent-posts-tagless - (ttl-memoize lookup-recent-posts-tagless directory-cache-ttl)) - - (defn add-recent-posts [user-id users] (if-not (empty? users) (let [res (if user-id |
