bosh max-inactivity in init.properties

Submitted by dayu on Sun, 2010-01-31 22:20

I need to change the bosh max-inactivity default value. It works fine to edit tigase.xml directly and restart tigase. However, if I add one line "bosh/max-inactivity=60" in the init.properties, remove tigase.xml, and restart tigase, bosh will not work at all.

What's the correct syntax to do that? Thank you.

dayu's picture

Thank you very much. That

Thank you very much. That resolves the problem.

Artur Hefczyc's picture

This is because, I guess, you

This is because, I guess, you forgotten to specify parameter type in the init.propertis file. Please have a look at the beginning of the online guide http://www.tigase.org/content/initproperties for the init.propertie. It describes how to specify parameter type. max-inactivity is long value so I think your line in the config file should look like this:

bosh/max-inactivity[L]=60

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.