docs: clarify prod hosting

This commit is contained in:
Jacky Zhao 2024-09-15 16:47:11 -07:00
parent 6ea359e55e
commit 50a78bafa5
2 changed files with 6 additions and 2 deletions

View File

@ -21,3 +21,7 @@ This will start a local web server to run your Quartz on your computer. Open a w
> - `--serve`: run a local hot-reloading server to preview your Quartz > - `--serve`: run a local hot-reloading server to preview your Quartz
> - `--port`: what port to run the local preview server on > - `--port`: what port to run the local preview server on
> - `--concurrency`: how many threads to use to parse notes > - `--concurrency`: how many threads to use to parse notes
> [!warning] Not to be used for production
> Serve mode is intended for local previews only.
> For production workloads, see the page on [[hosting]].

View File

@ -163,7 +163,7 @@ async function partialRebuildFromEntrypoint(
} }
const buildId = newBuildId() const buildId = newBuildId()
ctx.buildId = buildId ctx.buildId = buildId
buildData.lastBuildMs = new Date().getTime() buildData.lastBuildMs = new Date().getTime()
const release = await mut.acquire() const release = await mut.acquire()
@ -360,7 +360,7 @@ async function rebuildFromEntrypoint(
} }
const buildId = newBuildId() const buildId = newBuildId()
ctx.buildId = buildId ctx.buildId = buildId
buildData.lastBuildMs = new Date().getTime() buildData.lastBuildMs = new Date().getTime()
const release = await mut.acquire() const release = await mut.acquire()