 	 variable="exrslt"
 	 arguments = "-#numberOfRequests# #Application.requestlog#" />
 <cfset x=queryNew("ts,ip,rqst,usrname")>
+
+<cfset firstRequestLine=listgetat(exrslt,1,"#chr(10)#")>
+<cfset firstRequestTime=listgetat(firstRequestLine,1,"|")>
+<cfset firstRequestTime=ISOToDateTime("#firstRequestTime#")>
+
 <cfloop list="#exrslt#" delimiters="#chr(10)#" index="i">
 	<cfset t=listgetat(i,1,"|","yes")>
 	<cfset ipa=listgetat(i,5,"|","yes")>

				<br>thisTime: #thisTime#::::#rqst#::::::#usrname#
				---->
				<cfset ttl=DateDiff("s", lastTime, thisTime)>
				<cfif ttl lte timeBetweenQueries>
					<!----
					<br>triggered!
					---->

	We're averaging about 50K requests/day at realease - revisit when/if necessary
---->
<cfset numberOfRequests=50000>


<cfset minQueries=10>
<!----
	time between subsequent queries. E.g., queries 5s apart follow robots.txt and won't break anything;
	this is only intended to detect abuse which might lead to issues, not tolerable usage
