File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2121 username : ${{ secrets.DO_USERNAME }}
2222 key : ${{ secrets.DO_SSH_KEY }}
2323 script : |
24+ export NVM_DIR="$HOME/.nvm"; [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"; nvm use 20
2425 cd ${{ secrets.APP_DIR }}
25- export NVM_DIR="$HOME/.nvm"
26- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
27- nvm use 18
2826 git pull
2927 npm i --legacy-peer-deps
3028 npm run build
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export const queueOptions = {
4444 // For Vercel, we need to provide Redis options rather than just the URL
4545 redis : redisUrl ,
4646 defaultJobOptions : {
47- attempts : 5 , // Retry failed jobs 5 times
47+ attempts : 20 , // Retry failed jobs 10 times
4848 backoff : {
4949 // Exponential backoff strategy
5050 type : "exponential" ,
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ export const queueEmailBatch = async (
8888 const jobs = await Promise . all (
8989 dataArray . map ( ( data ) =>
9090 emailQueue . add ( data , {
91- attempts : 5 ,
91+ attempts : 20 ,
9292 backoff : {
9393 type : "exponential" ,
9494 delay : 10000 ,
You can’t perform that action at this time.
0 commit comments