Miscellaneous Tips

From Opentaps Wiki
Revision as of 16:22, 24 October 2008 by Sichen (talk | contribs)
Jump to navigationJump to search

Managing the Cache

You can improve the performance of opentaps by increasing the use of caching. Edit the file framework/base/config/cache.properties and increase the number of million seconds various things are cached by the system. For example, you can increase the caching of the screens by using these settings:

How to Disable Users

Set the UserLogin.enabled to "N" and make sure that the disabledDateTime is set to null. Otherwise, the user login will be re-enabled 15 minutes after the disabledDateTime.


How to change the default ID numbers

Edit the table SequenceValueItem and change the seqId for the table you want. For example, if you want to set all your productIds to begin with "8000000" instead of "10000", just create a row for "Product" with seqId = 8000000