Tor ticket 16052 (flooding attack)

I am running a hidden service over whonix and have been hit with the attack described here:

[tor-dev] [PATCH] Defences against the recent hidden service DoS attacks

How can I implement the fix recommended in this suggested resolution on Whonix system?

Thanks
Rabbit

As per Whonix ™ - Anonymous Operating System also in this specific case I think there will be no difference Debian vs Whonix. So if it works for Debian, it should work for Whonix as well.