diff src/director/director-settings.h @ 18065:b9df3d654710

director: Added director_consistent_hashing setting. This should have been the default since the beginning. I didn't thik it was worth the trouble originally because in theory it shouldn't matter much if users jump between multiple backends. But this makes caching behavior worse, especially for systems which are using local cache files.
author Timo Sirainen <tss@iki.fi>
date Wed, 12 Nov 2014 03:29:04 +0200
parents 817ef4c9f1f3
children aabfe48db1cf
line wrap: on
line diff
--- a/src/director/director-settings.h	Wed Nov 12 02:04:14 2014 +0200
+++ b/src/director/director-settings.h	Wed Nov 12 03:29:04 2014 +0200
@@ -9,6 +9,7 @@
 	const char *director_username_hash;
 	unsigned int director_user_expire;
 	unsigned int director_doveadm_port;
+	bool director_consistent_hashing;
 };
 
 extern const struct setting_parser_info director_setting_parser_info;