Commit Graph

124 Commits

Author SHA1 Message Date
jomo
b95d011933 use seconds (as stated in config)
timestamps in JS are ms. multiplied config value with 1000 so it's converted to ms
2014-11-05 00:06:15 +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
a6c74c9831 use 160px as default - 180 results in irregular resized pixels (22,5px) 2014-11-03 02:12:58 +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
a5f9ff462b Add Procfile + __dirname 2014-11-02 08:55:54 -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
jomo
5f8465c06a fix bug that didn't return error 2014-11-01 21:29:43 +01:00
jomo
1606fac89b add support for helmets (?helm), closes #2. changed '/:uuid/123' to '/:uuid?size=123', closes #10. Bugfixes 2014-11-01 21:03:42 +01:00
jomo
d84d55f533 better error handling 2014-10-30 00:21:16 +01:00
jomo
a07ca210d6 fix undefined skins_dir, add http_timeout to config 2014-10-29 21:23:36 +01:00
jomo
cc159d3620 split code into more modules, fixes #8 2014-10-29 19:53:27 +01:00