view src/director/director-settings.h @ 22633:9284bdc3c5c5

director: Don't recreate timeout on every user lookup Recreate it only when the timeout should change.
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Sat, 04 Nov 2017 01:34:02 +0200
parents f733d647ff82
children 7fe2a998bc1f
line wrap: on
line source

#ifndef DIRECTOR_SETTINGS_H
#define DIRECTOR_SETTINGS_H

#include "net.h"

struct director_settings {
	const char *master_user_separator;

	const char *director_servers;
	const char *director_mail_servers;
	const char *director_username_hash;
	const char *director_flush_socket;

	unsigned int director_user_expire;
	unsigned int director_user_kick_delay;
	in_port_t director_doveadm_port;
	bool director_consistent_hashing;
	uoff_t director_output_buffer_size;
};

extern const struct setting_parser_info director_setting_parser_info;

#endif