From 6053eeb3d904516da7e8bcda314f6a37a604f024 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 4 Sep 2013 17:32:15 +0200 Subject: [PATCH] fix skewed parameter order in respawn code Signed-off-by: John Crispin --- instance.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instance.c b/instance.c index 4230d0d..7895a04 100644 --- a/instance.c +++ b/instance.c @@ -334,8 +334,8 @@ instance_config_parse(struct service_instance *in) } in->respawn = true; in->respawn_count = 0; - in->respawn_timeout = vals[0]; - in->respawn_threshold = vals[1]; + in->respawn_threshold = vals[0]; + in->respawn_timeout = vals[1]; in->respawn_retry = vals[2]; } if (tb[INSTANCE_ATTR_TRIGGER]) { -- 2.25.1