mirror of
https://github.com/linuxserver/fleet.git
synced 2026-02-20 05:11:08 +08:00
Fix bug with queueThreadCount property default
This commit is contained in:
parent
d1aeb6e7e9
commit
bd8db6650c
@ -80,7 +80,14 @@ public class FleetProperties {
|
||||
}
|
||||
|
||||
public int getQueueThreadCount() {
|
||||
return Integer.parseInt(getStringProperty("fleet.queue.threads"));
|
||||
|
||||
final String numThreads = getStringProperty("fleet.queue.threads");
|
||||
|
||||
if (null == numThreads) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return Integer.parseInt(numThreads);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user