Skip to content

Commit 98fb76b

Browse files
committed
1 parent 92bfd6a commit 98fb76b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/codeium/api.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ function Server:request_completion(document, editor_options, other_documents, ca
403403
other_documents = other_documents,
404404
}, function(body, err)
405405
if err then
406-
if err.status == 503 or err.status == 408 then
406+
if err.status == 503 or err.status == 504 or err.status == 408 then
407407
-- Service Unavailable or Timeout error
408408
return complete(false, nil)
409409
end

0 commit comments

Comments
 (0)