openresty / openresty/lua-resty-core

TODO: specify the number of the connections instead of the default 512.

Open
#310 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
853
Forks
286
Avg merge
35m
Merged PRs (30d)
1

Description

we can implement it with this API:
enable_privileged_agent(connections?)

the original API:
https://github.com/openresty/lua-resty-core/blob/master/lib/ngx/process.md#enable_privileged_agent

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked enable_privileged_agent API documentation and the proposed enable_privileged_agent(connections?) signature. Trace how the current default of 512 connections is exposed in lua-resty-core, then identify the relevant tests or entry point. Done means the API accepts the connection count and no longer relies only on the default.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.