Skip to content

Commit

Permalink
Add git-refresher
Browse files Browse the repository at this point in the history
  • Loading branch information
paullinator committed Oct 19, 2024
1 parent a3585b4 commit a964ae5
Show file tree
Hide file tree
Showing 3 changed files with 419 additions and 15 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"date-fns": "^2.16.1",
"date-fns-tz": "^1.1.4",
"express": "^4.17.3",
"git-refresher": "^0.1.1",
"nano": "^10.1.0",
"node-fetch": "^2.6.7",
"prop-types": ">= 15.5.10 < 16.0.0",
Expand Down
7 changes: 7 additions & 0 deletions pm2.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@
"script": "lib/indexCache.js",
"error_file": "/var/log/pm2/reportsCache.error.log",
"out_file": "/var/log/pm2/reportsCache.out.log"
},
{
"name": "gitRefresher",
"script": "npx",
"args": ["git-refresher"],
"autorestart": false,
"cron_restart": "*/5 * * * *"
}
]
}
Loading

0 comments on commit a964ae5

Please sign in to comment.