summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordumpfmprod <dumpfmprod@ubuntu.(none)>2010-11-14 16:26:48 -0500
committerdumpfmprod <dumpfmprod@ubuntu.(none)>2010-11-14 16:26:48 -0500
commit8666b51068dab999c4fea19ef3982fda139612fa (patch)
tree782ef7f92076cdd85756253cd20158991d45954b
parent9e15175efa7d056d27e94e15116b2a34dbe92346 (diff)
parent9b5fb453d7fbe79918fe012badbf6a515092cb48 (diff)
Merge branch 'master' of /pichat/repo
-rw-r--r--src/redisload.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redisload.clj b/src/redisload.clj
index fdc2664..9e33039 100644
--- a/src/redisload.clj
+++ b/src/redisload.clj
@@ -58,7 +58,7 @@ WHERE
(redis/del key)
(doseq [[msg-id score] (take (* num-popular-dumps 2)
sorted-msgs)]
- (redis/zadd userkey score msg-id))
+ (redis/zadd userkey score msg-id)))))
;; (redis/expire userkey (redis-days 2))))) -- need to schedule auto loader
(println "cached popular data for" (count @popular-map) "users"))