1
mirror of https://github.com/cocktailpeanut/dalai synced 2024-11-23 04:16:53 +01:00

Threads default to system cpu count.

This commit is contained in:
Mathieu Gosbee 2023-03-19 00:38:58 -04:00
parent bec6f6703a
commit 486ecec49a

View File

@ -15,7 +15,7 @@ const start = (port, home) => {
app.set('views', path.resolve(__dirname, "views"))
app.get("/", (req, res) => {
res.render("index", {
threads: oc.cpus().length
threads: os.cpus().length
})
})
httpServer.listen(port, () => {