Skip to content

Commit

Permalink
chore: remove core.grpc module (#11427)
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek committed Jul 24, 2024
1 parent 36b2b83 commit 507df12
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 257 deletions.
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.

0 comments on commit 507df12

Please sign in to comment.