diff 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
line wrap: on
line diff
--- a/configuration.js.example
+++ b/configuration.js.example
@@ -42,3 +42,6 @@ config.directory = 'data';
 // specified.  Warning: it doesn’t follow the spec and is only a
 // workaround for buggy clients.
 config.guessType = false;
+
+// Time after which the avatar will be retrieved again, in seconds.
+config.expire = 24*60*60;