What does ddp-rate-limiter work by?

I thoght it will limit method-call-rate by connection, but found out that it limit it by the whole server. that is to say, if I set rate limit for email-sending at 1 per 30s, then, all users can only send one email within 30s, it’s not expected.

how to handle this case?