Question Limit the speed players can transfer from one backend server to another?

HoY

New member
Jan 9, 2025
1
0
1
I'm running a small network of forge servers behind a velocity proxy, and they are quite heavily modded. I have a mod written to sync player stats to a database when they transfer from one server to another, then from that database to the new server. we're finding that if too many people try to transfer too quickly,, ie simultaneously or near enough, that some players data doesn't get sent to the database. Then when they arrive at the new server they have old data from the last time they were there.
One hopefully simple way I'd like to try to fix this is preventing people from transferring server to server at the same time.
Ideally I'd like to be able to specify a set time that server transfers would be locked after anyone logs into or transfers from one to another. there is a significant amount of data being synced (vault hunters, forge mod pack, 1.18.2) so the time would probably be 5 seconds to be safe.

Does this exist?
I was unable to find it with a simple search