Uses the new directive js_periodic in njs >= 0.8.2 to invoke clientAutoMode(r) on regular intervals. This eliminates the need to set up a cron or use docker healthchecks.
Proposed changes
Use js_periodic to invoke clientAutoMode() periodically.
Clarify some instructions for variable use in the shared dict zone.
Checklist
Before creating a PR, run through this checklist and mark each as complete.
Please ensure integration tests are updated and tests both triggers "periodic" and regular HTTP request. it would require updating nginx config in integration tests
Uses the new directive
js_periodic
in njs >= 0.8.2 to invokeclientAutoMode(r)
on regular intervals. This eliminates the need to set up a cron or use docker healthchecks.Proposed changes
js_periodic
to invokeclientAutoMode()
periodically.Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentREADME.md
andCHANGELOG.md
)