]> git.ipfire.org Git - thirdparty/squid.git/commit
At the sprint the issue about our current 10ms main loop timeout came
authorHenrik Nordstrom <henrik@henriknordstrom.net>
Thu, 20 Mar 2008 05:15:04 +0000 (06:15 +0100)
committerHenrik Nordstrom <henrik@henriknordstrom.net>
Thu, 20 Mar 2008 05:15:04 +0000 (06:15 +0100)
commitb9619b85f01e13faa9879baa9dbe461ad73fb60a
tree1bf2aff34ce14a25194229d26ed670e0d5d91f53
parent00a6987533e21cea1b4b0f89a6c2adbae276ae44
At the sprint the issue about our current 10ms main loop timeout came
up, and it was suggested the problem most likely have been fixed in
HEAD. And even if it hasn't been fixed it's something which should be
fixed rather than plastered over by spinning around on a short timeout
when there is no activity..

This backs out the change to revert the change..

Alex commit reversing the change said:

revno: 8332
committer: rousskov
branch nick: HEAD
timestamp: Tue 2007-07-24 01:55:21 +0000
message:
  Reversed bug #2011 fix because it may slow down ICAP, BodyPipe, and other code
  using zero-delay events to implement "asynchronous" calls.

  The code should probably be rewritten (a) to avoid any waiting/blocking when
  there are ready events and (b) to allow waiting longer when there are no ready
  events.
src/EventLoop.cc