How to change advanced Upsource properties?


You might be recommnded by Upsource team to change some Upsource properties that are not available from UI. This article will tell you how to do that and provide a brief list of the most popular settings.



1. Stop Upsource server with stop (either upsource.bat stop for Windows installations).

2. Go to the <Upsource_home_directory>/conf folder

3. Open the file (create it if it doesn't exist).

4. Put a property along with a new value into this file. E.g.: upsource.mail.smtp.debug=true

5. Start Upsource server.


A short list of Upsource properties:


Property Name Default Value  Description 
upsource.external.sync.period.minutes  20  Specifies a period between GitHub/GitLab synchronizations in minutes.
frontend.psi.filesize.limit   100000  A max size of a file where code navigation features will be available (in bytes).
upsource.achievements.max.threads.count  1 or 1/2 of CPU cores Values that are equal or less than 0 will turn Achievements system off
upsource.achievements.enabled  true false will turn Achievements system off
frontend.revision.count.limit  200 The maximum number of revisions to show in a graph (branch / compare page)  2048 The maximum number of files a review may contain  1000 The maximum number of text occurences in the search result
upsource.schema.revisionchangehistorytable.fetch.size  5000 The maximum number of lines for all read queries to RevisionChangeHistory table



Please sign in to leave a comment.

Have more questions?

Submit a request