mirror of
https://github.com/whyour/qinglong.git
synced 2026-08-17 23:56:57 +08:00
perf: bound runtime memory and storage usage
This commit is contained in:
+5
-1
@@ -1,3 +1,5 @@
|
||||
const isContainer = process.env.QL_CONTAINER === 'true';
|
||||
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
@@ -7,7 +9,9 @@ module.exports = {
|
||||
wait_ready: true,
|
||||
listen_timeout: 5000,
|
||||
source_map_support: true,
|
||||
time: true,
|
||||
time: !isContainer,
|
||||
out_file: isContainer ? '/proc/1/fd/1' : undefined,
|
||||
error_file: isContainer ? '/proc/1/fd/2' : undefined,
|
||||
script: 'static/build/app.js',
|
||||
env: {
|
||||
http_proxy: '',
|
||||
|
||||
Reference in New Issue
Block a user