From 0557f708ea419cc2a069001c7e408e3eaf4e2eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aliaksandr=20Tru=C5=A1?= Date: Wed, 30 Apr 2025 14:05:30 +0200 Subject: [PATCH] fix: stack overflow for start call --- lua/codeium/api.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/codeium/api.lua b/lua/codeium/api.lua index cdeff93..cd5eddc 100644 --- a/lua/codeium/api.lua +++ b/lua/codeium/api.lua @@ -201,7 +201,9 @@ function Server:start() self.current_cookie = next_cookie() if not api_key then - io.timer(1000, 0, self:start()) + io.timer(1000, 0, function() + self:start() + end) return end