mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
admin setting for background thread count
This commit is contained in:
@@ -12,6 +12,7 @@ public class ApplicationSettings extends AbstractModel {
|
||||
private boolean allowRegistrations = false;
|
||||
private String googleClientId;
|
||||
private String googleClientSecret;
|
||||
private int backgroundThreads = 3;
|
||||
|
||||
public String getPublicUrl() {
|
||||
return publicUrl;
|
||||
@@ -45,4 +46,12 @@ public class ApplicationSettings extends AbstractModel {
|
||||
this.googleClientSecret = googleClientSecret;
|
||||
}
|
||||
|
||||
public int getBackgroundThreads() {
|
||||
return backgroundThreads;
|
||||
}
|
||||
|
||||
public void setBackgroundThreads(int backgroundThreads) {
|
||||
this.backgroundThreads = backgroundThreads;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user