I tried to set interval for 29mins to regenerate new token and add --watch flag on my pm2 service, but again it’s not stable.
Currently my solution is to get new token on every pm2 request but then request/response time is over 5s… to slow.
Is there some best practices with pm2 service and nodejs server for your API?