21 Commits

Author SHA1 Message Date
jomo
04066591c5 add comment about heroku + deleting files 2014-11-22 02:27:20 +01:00
jomo
170ca55535 Revert "don't flush redis on start, don't delete images on start"
Ah, we did this because heroku.
2014-11-22 02:24:35 +01:00
jomo
7afeafc21a don't flush redis on start, don't delete images on start
I think we initially did this to debug some problems with broken data in redis
2014-11-22 01:50:19 +01:00
jomo
a1eaaa3de3 delete faces + helms on start (relevant: #4)
since redis is flushed, we don't know about these files anyway
2014-11-07 23:05:29 +01:00
jomo
2a13d1e1c5 💩 💩 💩 💩 genius me
░░░░░░░░░░░░░░░░░░░▄▄▄▄▄▄░░░░░░░░░
░░░░░░░░░░░░█▀█▄▄▀▀░░░░░░▀█▄░░░░░░
░░░░░░░█▀▀▀▀░░░░░░░░░░░░░░░░▀▄▄▄▄░
░░░░░▄▄▀░░░▄█░░░░░░░░░░░░░░░░▄▄██▄
░░░░░█░░▄█▀░░▀▀▀▀▀▄▄░░░░░░░▄▄█░▀█░
░░░░░█░▄▀░░░░░░░░░░░▀▀▀▀▄▄███░░░▀▄
░░░░░▀▄█▄███▄▄░░░▄▄▄▄░░░░▄▀░░░░░░█
░░░░░░█▄█▀██▀░░░░█▀▄▄▀░░█░░░░░░░█▀
░░░░░██░██▀░░░░░▄█▄███░░█░░░░░░░█░
░░░▄▄█▀█▄░░▄▄▄▄░░█░░░░▄▀░░░░░░░█░░
░▄▀░░███▄░░▀▀░▀░░░░░▄█▄░░░░░░░█▀░░
█░░░░█░█▄▄▄▄▄▄▄░░░░░█▀███░░░░░█░░░
█░░░░██████▀▀▀█░░░░░░██░█▄▄▄▄▄█░░░
░░░░░██░▄██▀▀██░█░░░▄▀██▀░░░░▀▀▀▄░
░░░░░█▀██░░▄███░█░░░█▀░░░░░░░░░░░█
░░░░░░▄█▀▀▀██▀░░░░▄▀░░░░░░░░░░░░░▀
░░░░░░▀▄░░░░░░░░▄▀░░░░░░░░░░░░░░░░
░░░░░░░░█▄▀▀▀▄▀▀░░░░░░░░░░░░░░░░░░
2014-11-05 00:07:39 +01:00
jomo
5f63cfac78 fix stupid bug that would result in never updating images
redis gives us a string. Thus, <time> + <number> resulted in '<time><number>' which was quite a big number and wouldn't ever be bigger than a valid Date
2014-11-05 00:04:50 +01:00
jomo
939d8f10a4 update file date on hash update (face only) 2014-11-04 23:43:39 +01:00
jomo
f71f11aa87 flush redis after connection established, improve bulk.sh 2014-11-03 01:11:19 +01:00
Jake
5a4643f334 Add Redis getter 2014-11-02 10:47:40 -06:00
jomo
b59d6ced07 cache non-existing UUIDs 2014-11-02 10:32:35 -06:00
Jake
1464604536 Flush when starting from Heroku 2014-11-02 10:06:05 -06:00
Jake
57e234134e Fix url 2014-11-02 08:22:45 -06:00
Jake
07a24f4290 Rediscloud 2014-11-02 08:21:19 -06:00
jomo
b146a5ea79 merge dem shiet 2014-11-02 15:18:16 +01:00
jomo
d6a1117fba add support for heroku redis, catch errors, more logging, auto reconnect 2014-11-02 15:17:03 +01:00
Jake
ca7aafbcaa Seperate methods 2014-11-02 07:57:39 -06:00
Jake
5d062f759f Auth client 2014-11-02 07:54:28 -06:00
Jake
fffc56ad81 Support redis on Heroku 2014-11-02 07:51:08 -06:00
jomo
d9ffa6cc69 make logs useful 2014-11-02 05:24:22 +01:00
jomo
b513883d93 use outdated hash on network errors, fixes #5 🍺 2014-11-02 05:15:38 +01:00
jomo
da8ba52717 add redis caching, closes #3. More logs, closes #9 2014-11-02 04:12:00 +01:00