setting for database update threads

This commit is contained in:
Athou
2013-05-23 06:38:58 +02:00
parent 006a2cf807
commit 44d4d3e96b
3 changed files with 20 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ public class ApplicationSettings extends AbstractModel {
private String googleClientId;
private String googleClientSecret;
private int backgroundThreads = 3;
private int databaseUpdateThreads = 1;
private String smtpHost;
private int smtpPort;
private boolean smtpTls;
@@ -153,4 +154,12 @@ public class ApplicationSettings extends AbstractModel {
this.heavyLoad = heavyLoad;
}
public int getDatabaseUpdateThreads() {
return databaseUpdateThreads;
}
public void setDatabaseUpdateThreads(int databaseUpdateThreads) {
this.databaseUpdateThreads = databaseUpdateThreads;
}
}