forked from sent/waves
Forgot to define cache
This commit is contained in:
parent
6b19e122d4
commit
ec39325750
|
@ -13,6 +13,7 @@ import { uvPath } from "@titaniumnetwork-dev/ultraviolet";
|
||||||
import wisp from "wisp-server-node";
|
import wisp from "wisp-server-node";
|
||||||
import NodeCache from "node-cache";
|
import NodeCache from "node-cache";
|
||||||
|
|
||||||
|
const cache = new NodeCache({ stdTTL: 345600, checkperiod: 3600 });
|
||||||
const port = parseInt(process.env.PORT || "3000", 10);
|
const port = parseInt(process.env.PORT || "3000", 10);
|
||||||
cluster.schedulingPolicy = cluster.SCHED_RR;
|
cluster.schedulingPolicy = cluster.SCHED_RR;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user