From aeeee3c1e3e9bfc38462cb315b6e19ee9fe6db70 Mon Sep 17 00:00:00 2001 From: Roman Melnikov Date: Wed, 1 Nov 2023 12:42:30 +0100 Subject: [Chore] Make activation wait timeout configurable Problem: Currently profile activation waiting timeout is hardcoded to 240 seconds, see https://github.com/serokell/deploy-rs/pull/48. In some cases, this timeout can be exceeded (e.g. activation performs a heavy DB migration and waits for it to finish before considering the profile activation succesful). Solution: Make this timeout configurable via 'activationTimeout' deploy attribute or corresponding '--activation-timeout' CLI option. For the sake of backward compatibility, the new 'wait' subcommand '--activation-timeout' option is made optional and defaults to 240 seconds if it wasn't provided. --- interface.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'interface.json') diff --git a/interface.json b/interface.json index a9471f4..c733f25 100644 --- a/interface.json +++ b/interface.json @@ -30,6 +30,9 @@ "confirmTimeout": { "type": "integer" }, + "activationTimeout": { + "type": "integer" + }, "tempPath": { "type": "string" } -- cgit v1.2.3