Re: [Dev] What is "startingDelayInSeconds" in registry indexing?

2016-06-05 Thread Bhathiya Jayasekara
Thanks both of you.

@Danesh: Just wanted to know the usage of the this.

Regards,
Bhathiya

On Mon, Jun 6, 2016 at 2:36 AM, Danesh Kuruppu  wrote:

> Hi Bhathiya,
>
> Is there any reason to reduce this number. This value is set to delay the
> indexing task till server startup. So it is not recommended to make it zero.
>
> Thanks
> Danesh
>
> On Sun, Jun 5, 2016 at 5:55 PM, Denuwanthi De Silva 
> wrote:
>
>> 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 
>> wrote:
>>
>>> Found this in [2].
>>>
>>> 60
>>> 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 
>>> 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 *

 *Phone: +94715478185 <%2B94715478185>*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 *
 *Twitter: https://twitter.com/bhathiyax *
 *Blog: http://movingaheadblog.blogspot.com
 *

>>>
>>>
>>>
>>> --
>>> *Bhathiya Jayasekara*
>>> *Senior Software Engineer,*
>>> *WSO2 inc., http://wso2.com *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>
>>
>>
>> --
>> Denuwanthi De Silva
>> Software Engineer;
>> WSO2 Inc.; http://wso2.com,
>> Email: denuwan...@wso2.com
>> Blog: https://denuwanthi.wordpress.com/
>>
>
>
>
> --
>
> Danesh Kuruppu
> Software Engineer
> WSO2 Inc,
> Mobile: +94 (77) 1690552
>



-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is "startingDelayInSeconds" in registry indexing?

2016-06-05 Thread Danesh Kuruppu
Hi Bhathiya,

Is there any reason to reduce this number. This value is set to delay the
indexing task till server startup. So it is not recommended to make it zero.

Thanks
Danesh

On Sun, Jun 5, 2016 at 5:55 PM, Denuwanthi De Silva 
wrote:

> 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 
> wrote:
>
>> Found this in [2].
>>
>> 60
>> 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 
>> 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 *
>>>
>>> *Phone: +94715478185 <%2B94715478185>*
>>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>>> *
>>> *Twitter: https://twitter.com/bhathiyax *
>>> *Blog: http://movingaheadblog.blogspot.com
>>> *
>>>
>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Senior Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>
>
>
> --
> Denuwanthi De Silva
> Software Engineer;
> WSO2 Inc.; http://wso2.com,
> Email: denuwan...@wso2.com
> Blog: https://denuwanthi.wordpress.com/
>



-- 

Danesh Kuruppu
Software Engineer
WSO2 Inc,
Mobile: +94 (77) 1690552
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is "startingDelayInSeconds" in registry indexing?

2016-06-05 Thread Denuwanthi De Silva
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 
wrote:

> Found this in [2].
>
> 60
> 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 
> 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 *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *Senior Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax *
> *Blog: 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


Re: [Dev] What is "startingDelayInSeconds" in registry indexing?

2016-06-04 Thread Bhathiya Jayasekara
Found this in [2].

60
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 
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 *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax *
> *Blog: http://movingaheadblog.blogspot.com
> *
>



-- 
*Bhathiya Jayasekara*
*Senior Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] What is "startingDelayInSeconds" in registry indexing?

2016-06-04 Thread Bhathiya Jayasekara
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 *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev