Hi Bhathiya,

startingDelayInSeconds is there to configure the time of delay to start
indexing when the server is starting.
So if you put '60', indexing service will start after 60s when server is
starting.
I think putting '0' will not be a good idea, since it will mean start
indexing at the very moment the server is going to start. Because some time
will be needed for the server to load the necessary services and resources
or mount properly before indexing should start.

Thanks


On Sat, Jun 4, 2016 at 8:18 PM, Bhathiya Jayasekara <bhath...@wso2.com>
wrote:

> Found this in [2].
>
> <startingDelayInSeconds>60</startingDelayInSeconds>
> When the server is starting (at the time registry indexing service
> register in OSGI ) indexing task is scheduling with 60s delay.
>
> Can someone please explain the importance if this? If I set this value to
> 0, what can go wrong?
>
> [2]
> http://www.vitharana.org/2015/02/registry-resource-indexing-in-wso2.html
>
> Thanks,
> Bhathiya
>
> On Sat, Jun 4, 2016 at 8:06 PM, Bhathiya Jayasekara <bhath...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> Can someone please explain "startingDelayInSeconds" here[1]?
>>
>> [1]
>> https://docs.wso2.com/display/Governance520/Configuration+for+Indexing
>>
>> Thanks,
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com <http://wso2.com>*
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> <http://www.linkedin.com/in/bhathiyaj>*
>> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
>> *Blog: http://movingaheadblog.blogspot.com
>> <http://movingaheadblog.blogspot.com/>*
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> <http://www.linkedin.com/in/bhathiyaj>*
> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
> *Blog: http://movingaheadblog.blogspot.com
> <http://movingaheadblog.blogspot.com/>*
>



-- 
Denuwanthi De Silva
Software Engineer;
WSO2 Inc.; http://wso2.com,
Email: denuwan...@wso2.com
Blog: https://denuwanthi.wordpress.com/
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to