Skip to content

Conversation

jyeshe
Copy link

@jyeshe jyeshe commented Sep 18, 2025

Why

The primary motivation for this was to allow distributed hydration scheduling in time windows.

What

This is a new once parameter called delay in seconds. It executes the worker in a similar fashion as the every but only once.

Request example:
curl "http://localhost:8734/[email protected]/once?delay=4200&cron-path=/[email protected]/now"

@jyeshe
Copy link
Author

jyeshe commented Sep 18, 2025

@samcamwilliams the param was renamed to after

jyeshe and others added 3 commits September 25, 2025 10:41
* chore: allow LMDB to flush to disk

This is important as the database is opened with NO_SYNC

* chore: handle app stop callbacks to flush and close LMDB
The primary goal is to allow scheduling hydration distributed in time windows
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

Successfully merging this pull request may close these issues.

1 participant