I'm having trouble with people flooding my java app with connections, and right now I have it so that if an IP opens more then 2 connections at once with it, it adds it to a "bad connections" array and disallows that ip from connecting.
But.. I'm having trouble thinking of how I would go about making it so that after the IP has been in the bad connections array for a minute, it removes it from the array.