Hi all

I'm creating repo in this way

Jcr jcr = new Jcr(oak)
                .with(descriptorInitializer)
                .with(new WrSecurityProvider(oakRepoConfiguration))
                .with((QueryIndexProvider) provider)
                .with((Observer) provider)
                .with(editorProvider)
                .withAsyncIndexing(asyncIndexingLane, 
asyncIndexingDelayInSeconds);

where asyncIndexingDelayInSeconds value is 5 (I'm sure because I log it), but 
enabling logs and looking for "Running background index task" I see every ten 
minutes

2026-08-25 16:10:28.491 DEBUG [platform-core-server,,] 
[oak-scheduled-executor-1257] o.a.j.o.plugins.index.AsyncIndexUpdate  : 
[wm-default-main-async] Running background index task (runWhenPermitted 
AsyncIndexUpdate.java 500)
2026-08-25 16:20:33.853 DEBUG [platform-core-server,,] 
[oak-scheduled-executor-1427] o.a.j.o.plugins.index.AsyncIndexUpdate  : 
[wm-default-main-async] Running background index task (runWhenPermitted 
AsyncIndexUpdate.java 500)
2026-08-25 16:30:39.181 DEBUG [platform-core-server,,] 
[oak-scheduled-executor-1551] o.a.j.o.plugins.index.AsyncIndexUpdate  : 
[wm-default-main-async] Running background index task (runWhenPermitted 
AsyncIndexUpdate.java 500)

How should I set the async period correctly in your opinion?

Cordiali saluti / Best regards,

Raffaele Gambelli
Application Architect
E  [email protected]<mailto:[email protected]>
M +39 3371641888
[https://images.eu.signature365.com/b2uknhefs98nwdub/img_USamABop1MkXu35s/v114.jpg]
[CEGEKA]
Via Ettore Cristoni, 84
IT-40033 Bologna (IT), Italy
T +39 02 2544271
WWW.CEGEKA.COM<https://www.cegeka.com>




Reply via email to