feat: basic sharding support #154
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
/** Load the app. */
|
||||
/** Load the app */
|
||||
const start_app = () => {
|
||||
import("./load").then((l) => l.run().catch((error) => console.error(error)));
|
||||
};
|
||||
|
|
|
@ -8,6 +8,7 @@ const start_manager = () => {
|
|||
manager.spawn();
|
||||
};
|
||||
|
||||
// Load .env if not in prod
|
||||
if (process.env.NODE_ENV !== "production") {
|
||||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
// @ts-ignore
|
||||
|
|
Loading…
Reference in a new issue