Skip to content

Commit a964ae5

Browse files
committed
Add git-refresher
1 parent a3585b4 commit a964ae5

File tree

3 files changed

+419
-15
lines changed

3 files changed

+419
-15
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"date-fns": "^2.16.1",
5050
"date-fns-tz": "^1.1.4",
5151
"express": "^4.17.3",
52+
"git-refresher": "^0.1.1",
5253
"nano": "^10.1.0",
5354
"node-fetch": "^2.6.7",
5455
"prop-types": ">= 15.5.10 < 16.0.0",

pm2.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@
2323
"script": "lib/indexCache.js",
2424
"error_file": "/var/log/pm2/reportsCache.error.log",
2525
"out_file": "/var/log/pm2/reportsCache.out.log"
26+
},
27+
{
28+
"name": "gitRefresher",
29+
"script": "npx",
30+
"args": ["git-refresher"],
31+
"autorestart": false,
32+
"cron_restart": "*/5 * * * *"
2633
}
2734
]
2835
}

0 commit comments

Comments
 (0)