Hi @xDark013,
Prisoners don't riot without reason, so you need to figure out why they're being violent. Maybe you have an inmate with the 'volatile' trait? Maybe you've got low overall danger but the needs go up all at once before shower team or meals? There is no cooldown you can activate, it's all controlled by you inmates' needs and traits. You can always turn off failure conditions if you're losing too regularly to be enjoyable.
Nat D11