Skip to content

Commit

Permalink
refactor(core/runloop): separate runloop events (#9970)
Browse files Browse the repository at this point in the history
* move logic into events.lua
* sytle clean
* clean crud_upstreams_handler
* localize utils.split
* style clean
* add crud local events
* style clean
* add RECONFIGURE_OPTS
* change cluster_balancer_targets_handler
* change crud_services_handler
* some comments
* param reconfigure_handler
* register reconfigure then return
* register_dbless_events
* move function place
* add handlers array
* register with handler array
* restore register_local_event()
* rename to register_for_db
* fix 16-runloop_handler_spec.lua
* wrapper func
* remove event logic to events.lua
* _register_balancer_events
* register_for_dbless
* 16-runloop_handler_spec.lua
* register_events
* _register_balancer_events
* kong.cache
* ENTITY_CACHE_STORE
* sni.name
* localize more vars
  • Loading branch information
chronolaw authored Jan 5, 2023
1 parent 3af17c4 commit 3a08d74
Show file tree
Hide file tree
Showing 4 changed files with 431 additions and 295 deletions.
1 change: 1 addition & 0 deletions kong-3.2.0-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ build = {
["kong.tools.channel"] = "kong/tools/channel.lua",

["kong.runloop.handler"] = "kong/runloop/handler.lua",
["kong.runloop.events"] = "kong/runloop/events.lua",
["kong.runloop.certificate"] = "kong/runloop/certificate.lua",
["kong.runloop.plugins_iterator"] = "kong/runloop/plugins_iterator.lua",
["kong.runloop.balancer"] = "kong/runloop/balancer/init.lua",
Expand Down
Loading

1 comment on commit 3a08d74

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:3a08d741ad746d44f243e860d15e98297782de52
Artifacts available https://github.com/Kong/kong/actions/runs/3845079715

Please sign in to comment.