[Config] added max_messages option