comparison configuration.js.example @ 16:27eaec05cfd0

Expire the avatar after a configurable amount of time.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 10 Jul 2011 15:16:22 +0200
parents 38ddd5888b8d
children 92d6e1b40df5
comparison
equal deleted inserted replaced
15:6689cc444617 16:27eaec05cfd0
40 40
41 // When true, assume that the TYPE of the avatar is image/png if not 41 // When true, assume that the TYPE of the avatar is image/png if not
42 // specified. Warning: it doesn’t follow the spec and is only a 42 // specified. Warning: it doesn’t follow the spec and is only a
43 // workaround for buggy clients. 43 // workaround for buggy clients.
44 config.guessType = false; 44 config.guessType = false;
45
46 // Time after which the avatar will be retrieved again, in seconds.
47 config.expire = 24*60*60;