From 07ebc3626e0c6a319bd565a894ccff235ca8c77f Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Thu, 27 Oct 2011 20:32:57 +0000 Subject: Implement 'async' mode for HAST. MFC after: 3 days --- sbin/hastd/parse.y | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sbin/hastd/parse.y') diff --git a/sbin/hastd/parse.y b/sbin/hastd/parse.y index 6174a2bb312e..72d24b426bab 100644 --- a/sbin/hastd/parse.y +++ b/sbin/hastd/parse.y @@ -301,11 +301,9 @@ yy_config_parse(const char *config, bool exitonerror) */ curres->hr_replication = depth0_replication; } - if (curres->hr_replication == HAST_REPLICATION_MEMSYNC || - curres->hr_replication == HAST_REPLICATION_ASYNC) { + if (curres->hr_replication == HAST_REPLICATION_MEMSYNC) { pjdlog_warning("Replication mode \"%s\" is not implemented, falling back to \"%s\".", - curres->hr_replication == HAST_REPLICATION_MEMSYNC ? - "memsync" : "async", "fullsync"); + "memsync", "fullsync"); curres->hr_replication = HAST_REPLICATION_FULLSYNC; } if (curres->hr_checksum == -1) { -- cgit v1.2.3