From e3b31a3ab80c5f681fb157f0e10eb2d3819ef18b Mon Sep 17 00:00:00 2001 From: Brent Baude Date: Tue, 18 Feb 2020 08:30:56 -0600 Subject: implement reverse reader for log reads in cases where the log file exceeds the available memory of a system, we had a bug that triggered an oom because the entire logfile was being read when the tail parameter was given. this reads in chunks and is more or less memory safe. fixes: #5131 Signed-off-by: Brent Baude --- hack/get_ci_vm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hack') diff --git a/hack/get_ci_vm.sh b/hack/get_ci_vm.sh index 22f902e2d..768137213 100755 --- a/hack/get_ci_vm.sh +++ b/hack/get_ci_vm.sh @@ -97,7 +97,7 @@ keys=[k for k in env if "ENCRYPTED" not in str(env[k])] for k,v in env.items(): v=str(v) if "ENCRYPTED" not in v: - print "{0}=\"{1}\"".format(k, v), + print("{0}=\"{1}\"".format(k, v)), ' } -- cgit v1.2.3-54-g00ecf