How to change advanced Upsource properties?

Overview:

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.

 

Instructions:

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

2. Go to the <Upsource_home_directory>/conf folder

3. Open the upsource.user.properties 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)
upsource.review.file.limit  2048 The maximum number of files a review may contain
upsource.text.search.query.limit  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

upsource.uploads.limit

 2000000 A max size of an image to add in a comment

frontend.view.filesize.limit

 2000000 A max size of a file to be displayed in the UI.

upsource.review.revision.limit

 512 A max number of revisions to be added to a review.

 

 

2 out of 3 found this helpful

Please sign in to leave a comment.

Have more questions?

Submit a request