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

Add Event timers #33

Open
f5yacobucci opened this issue Jun 20, 2023 · 0 comments
Open

Add Event timers #33

f5yacobucci opened this issue Jun 20, 2023 · 0 comments
Assignees

Comments

@f5yacobucci
Copy link
Contributor

f5yacobucci commented Jun 20, 2023

Is your feature request related to a problem? Please describe.
While working on a retry module it became clear there was no facility to schedule actions for the future. NGINX supports timers via the event API. Exposing event timers can be useful to a variety of use cases: repetitive actions outside of I/O events, timeouts for I/O events, or one shot condition checks.

Describe the solution you'd like
Expose an idiomatic Rust API for NGINX ngx_event_t types. The first set of APIs required is to expose timers. A proposal for this work is here and is generally complete, but needs to be broken apart from other features (subrequest updates).

This issue should start with the existing branch and only pull over the necessary Event timer API.

@f5yacobucci f5yacobucci self-assigned this Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant