-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathmetaProcess.json
More file actions
28 lines (28 loc) · 937 Bytes
/
Copy pathmetaProcess.json
File metadata and controls
28 lines (28 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"apps": [
{
"name": "cg-meta-cache",
"script": "getCoinMeta.js",
"log_date_format": "YYYY-MM-DD HH:mm",
"_comment_autorestart": "The metadata crawl is a single long pass (roughly 70 hours at one coin every 15s), not a service. autorestart and watch must be real pm2 options here: '--no-autorestart' used to sit in args, where pm2 passes it to the script as argv and ignores it, so the crawl restarted the moment it finished and looped forever against the shared CoinGecko rate limit. watch:true additionally killed it mid-pass on any file change.",
"autorestart": false,
"watch": false,
"ignore_watch": [
"node_modules",
"common",
"public",
"chartscreens",
"stuff"
],
"args": [
"--color"
],
"env": {
"DEBUG_COLORS": true
},
"node-args": [
"--max-old-space-size=6144"
]
}
]
}