|
|
@ -1,9 +1,9 @@ |
|
|
|
import { Environment } from '@ghostfolio/api/services/interfaces/environment.interface'; |
|
|
|
import { |
|
|
|
CACHE_TTL_NO_CACHE, |
|
|
|
DEFAULT_PROCESSOR_CONCURRENCY_GATHER_ASSET_PROFILE, |
|
|
|
DEFAULT_PROCESSOR_CONCURRENCY_GATHER_HISTORICAL_MARKET_DATA, |
|
|
|
DEFAULT_PROCESSOR_CONCURRENCY_PORTFOLIO_SNAPSHOT, |
|
|
|
DEFAULT_PROCESSOR_GATHER_ASSET_PROFILE_CONCURRENCY, |
|
|
|
DEFAULT_PROCESSOR_GATHER_HISTORICAL_MARKET_DATA_CONCURRENCY, |
|
|
|
DEFAULT_PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_CONCURRENCY, |
|
|
|
DEFAULT_PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_TIMEOUT, |
|
|
|
DEFAULT_ROOT_URL |
|
|
|
} from '@ghostfolio/common/config'; |
|
|
@ -51,14 +51,14 @@ export class ConfigurationService { |
|
|
|
MAX_ACTIVITIES_TO_IMPORT: num({ default: Number.MAX_SAFE_INTEGER }), |
|
|
|
MAX_CHART_ITEMS: num({ default: 365 }), |
|
|
|
PORT: port({ default: 3333 }), |
|
|
|
PROCESSOR_CONCURRENCY_GATHER_ASSET_PROFILE: num({ |
|
|
|
default: DEFAULT_PROCESSOR_CONCURRENCY_GATHER_ASSET_PROFILE |
|
|
|
PROCESSOR_GATHER_ASSET_PROFILE_CONCURRENCY: num({ |
|
|
|
default: DEFAULT_PROCESSOR_GATHER_ASSET_PROFILE_CONCURRENCY |
|
|
|
}), |
|
|
|
PROCESSOR_CONCURRENCY_GATHER_HISTORICAL_MARKET_DATA: num({ |
|
|
|
default: DEFAULT_PROCESSOR_CONCURRENCY_GATHER_HISTORICAL_MARKET_DATA |
|
|
|
PROCESSOR_GATHER_HISTORICAL_MARKET_DATA_CONCURRENCY: num({ |
|
|
|
default: DEFAULT_PROCESSOR_GATHER_HISTORICAL_MARKET_DATA_CONCURRENCY |
|
|
|
}), |
|
|
|
PROCESSOR_CONCURRENCY_PORTFOLIO_SNAPSHOT: num({ |
|
|
|
default: DEFAULT_PROCESSOR_CONCURRENCY_PORTFOLIO_SNAPSHOT |
|
|
|
PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_CONCURRENCY: num({ |
|
|
|
default: DEFAULT_PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_CONCURRENCY |
|
|
|
}), |
|
|
|
PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_TIMEOUT: num({ |
|
|
|
default: DEFAULT_PROCESSOR_PORTFOLIO_SNAPSHOT_COMPUTATION_TIMEOUT |
|
|
|