The hard deadline of 120 min for password expiration, sometimes leads to all passwords being rotated at the same time (especially when mint-worker was down for a while and all passwords expired). Afterwards they are valid for the next two hours and the worker is basically idle.
If many passwords expire at the same time, the mint-worker should not try to rotate them all at once, but distribute them more smoothly, to have an almost constant workload all the time and avoid peaks.
The hard deadline of 120 min for password expiration, sometimes leads to all passwords being rotated at the same time (especially when mint-worker was down for a while and all passwords expired). Afterwards they are valid for the next two hours and the worker is basically idle.
If many passwords expire at the same time, the mint-worker should not try to rotate them all at once, but distribute them more smoothly, to have an almost constant workload all the time and avoid peaks.