Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaket committed Nov 29, 2024
1 parent 92bfd6a commit 98fb76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/codeium/api.lua
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ function Server:request_completion(document, editor_options, other_documents, ca
other_documents = other_documents,
}, function(body, err)
if err then
if err.status == 503 or err.status == 408 then
if err.status == 503 or err.status == 504 or err.status == 408 then
-- Service Unavailable or Timeout error
return complete(false, nil)
end
Expand Down

0 comments on commit 98fb76b

Please sign in to comment.