@concepta/nestjs-core
v4.0.0-alpha.44
Published
Rockets NestJS Core
Downloads
523
Readme
Rockets NestJS Core
The core module is a dependency of all Rockets modules.
Project
Installation
yarn add @concepta/nestjs-core
Configuration
Available configuration options:
Deferred Registration
By default, modules that are registered using .deferred()
do not have a timeout set.
If you module wirings make some asynchronous calls that may experience significant delays during start up,
it is a good idea to set the global ROCKETS_MODULE_DEFERRED_TIMEOUT
environment variable to the number of
milliseconds that each module should timeout at.
Examples
Your .env file:
# global deferred timeout
ROCKETS_MODULE_DEFERRED_TIMEOUT=5000
Your shell:
export ROCKETS_MODULE_DEFERRED_TIMEOUT=5000;