Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove core.grpc module #11427

Merged
merged 1 commit into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions apisix/core/grpc.lua

This file was deleted.

7 changes: 0 additions & 7 deletions apisix/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,6 @@ function _M.http_init_worker()
-- for testing only
core.log.info("random test in [1, 10000]: ", math.random(1, 10000))

-- Because go's scheduler doesn't work after fork, we have to load the gRPC module
-- in each worker.
core.grpc = require("apisix.core.grpc")
if type(core.grpc) ~= "table" then
core.grpc = nil
end

require("apisix.events").init_worker()

local discovery = require("apisix.discovery.init").discovery
Expand Down
50 changes: 0 additions & 50 deletions t/core/grpc-openresty.t

This file was deleted.

173 changes: 0 additions & 173 deletions t/core/grpc.t

This file was deleted.

Loading