jomo
a05e82cb5e
clean up redis env parsing, support REDISCLOUD_URL, REDIS_URL or fall back to default
2015-01-09 19:52:51 +01:00
jomo
8458218d50
use double quotes as we do everywhere else
2015-01-06 18:43:16 +01:00
jomo
3a0a23e5b5
delete hash from redis if file does not exist
2015-01-04 05:01:13 +01:00
jomo
7fbd31fd01
fix #61
2015-01-04 02:39:11 +01:00
jomo
c80eefd992
flush redis before max memory is reached; hotfix for #49
2014-12-29 23:54:33 +01:00
jomo
9faeedc03f
convert keys to lower case at cache level
2014-12-10 19:53:44 +01:00
jomo
0c73d39c79
high scalability!!! using '.' instead of 'null' string
2014-12-08 22:38:06 +01:00
jomo
e726fb9d5f
convert uuid params to lower case, store only lower case uuids
2014-12-08 21:57:37 +01:00
jomo
332330f68e
replacing all single quotes with double quotes
...
Until now it was a big mess with some strings using single quotes and some others double quotes
We were using way more double quotes, so I chose to use them globally
2014-11-30 00:07:05 +01:00
Jake
db5a94e44e
Remove force-flush
2014-11-29 12:24:33 -06:00
Jake
a4c11f396f
Rewrite skin support
2014-11-29 12:21:35 -06:00
jomo
dd8a3b91e2
using our own logging, allows us to do some eventual modifications
2014-11-23 23:02:45 +01:00
jomo
1aeeb19fcf
only flush redis when running on heroku; don't delete files on start (see @46f36e9fede3984e85cb1cafa7a4fea67a56176d)
2014-11-22 17:16:55 +01:00
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