zulip/zerver
Tim Abbott 50356cc325 event_queue: Eliminate buggy need_timeout heartbeat code.
As best I can tell, this option was completely confused in two ways:
* The name is confusing; it actually controls whether we _clear_ the
  timeout associated with the current handler
* It's not clear why one would not want it to be unconditionally true.

From reading the history, I'm pretty sure I had just misread the code
when I created this.

And this caused a real bug; a later refactoring caused us to basically
never cancel the timeouts, which in turn resulted in 90% of all events
traffic being hearbeats with a much lower frequency (~5s) than the
intended 45s.  Removing this code fixes that nasty bug.
2016-10-19 14:32:49 -07:00
..
fixtures Normalize github pull requests event message. 2016-10-14 16:54:13 -07:00
lib event_queue: Eliminate buggy need_timeout heartbeat code. 2016-10-19 14:32:49 -07:00
management management: Fix recent argument parsing regressions. 2016-10-16 20:36:33 -07:00
migrations Add new organization type field to Realm objects. 2016-10-05 17:01:46 -07:00
templatetags Annotate zerver/templatetags/minified_js.py. 2016-09-12 08:10:50 -07:00
tests bugdown: Distinguish between YouTube Videos and Image Previews. 2016-10-18 14:45:47 -07:00
views mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
worker socket: Switch localhost to 127.0.0.1. 2016-09-13 10:01:57 -07:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
context_processors.py portico: Add options to disable login and about links. 2016-09-13 22:59:09 -07:00
decorator.py mypy: Remove a bunch of now-unnecessary type: ignore annotations. 2016-10-17 11:48:34 -07:00
exceptions.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
filters.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
forms.py Add new organization type field to Realm objects. 2016-10-05 17:01:46 -07:00
logging_handlers.py settings: Extract settings.STAGING_ERROR_NOTIFICATIONS. 2016-07-19 15:28:41 -07:00
middleware.py Add option for hosting each realm on its own subdomain. 2016-09-27 23:24:14 -07:00
models.py Move name_changes_disabled to zerver.models 2016-10-10 09:27:52 -07:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00
storage.py storage: Fix build-release-tarball py3 compatibility. 2016-10-10 09:54:51 -07:00
tornadoviews.py zerver/tornado.py: Convert queue_id to str. 2016-07-04 02:58:57 +05:30