Commit 72cd9de5 authored by Alex Wenckus's avatar Alex Wenckus Committed by alex

Reverse

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6770 b35dd754-fafc-0310-a699-88a17e54d16e
parent b1388b65
...@@ -427,7 +427,7 @@ public class HttpSession extends ClientSession { ...@@ -427,7 +427,7 @@ public class HttpSession extends ClientSession {
long time = System.currentTimeMillis(); long time = System.currentTimeMillis();
if (((time - lastPoll) / 1000) < maxPollingInterval) { if (((time - lastPoll) / 1000) < maxPollingInterval) {
throw new HttpBindException("Too frequent polling minimum interval is " throw new HttpBindException("Too frequent polling minimum interval is "
+ maxPollingInterval + ", current interval " + ((lastPoll - time) / 1000), + maxPollingInterval + ", current interval " + ((time - lastPoll) / 1000),
true, 403); true, 403);
} }
lastPoll = time; lastPoll = time;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment