That is an interesting idea. There is a similar idea here https://github.com/ncw/rclone/issues/485 about limiting the number of files per second. However it would be relatively easy to add a limit of API transactions per second.
Let’s say I implemented a --tps-limit
command which you would give a maximum number of transactions per second you wanted as a floating point number. So you could say --tps-limit 10
or --tps-limit 0.5
for 1 every 2 seconds.
Do you think that would work?
Not sure I like the name --tps-limit
though… Probably --http-tps-limit
would be more accurate.