Zulip 服务器和 Web 应用程序。开源团队聊天可帮助团队保持高效和专注。
Go to file
Tim Abbott 26f7b783a2 logging: Fix request processing time to not count initialization.
Previously, we counted not just the time required to process a
particular request, but also the time required to import+find the view
function via urls.py.  The latter is usually fast, but when a new
Django thread starts up, it can take significant time, resulting in us
flagging slow requests on each server restart and also when a new
Django thread starts up on prod to handle requests.

This change means that we no longer include that startup time as part
of request processing time -- but we still log it in the case that it
was more than 5ms, so that we can identify why a particular request
was slower than expected if high startup times become a problem.  We
annotate the time in log lines as "+start" rather than just "start" to
make clear that it's not counted in the total.

(imported from commit c677682e23b26005060390d85d386234f4f463ad)
2013-11-18 18:05:19 -05:00
analytics Show admins on /realm_activity page. 2013-11-18 14:41:37 -05:00
api Update paths to rss-bot. 2013-11-18 08:11:06 -05:00
assets Allow enterprise deployments to disable the use of Gravatar. 2013-11-18 11:48:53 -05:00
bin [manual] Move write-rabbitmq-consumers-state-file to bin/. 2013-10-28 10:54:49 -04:00
bots zephyr_mirror: Update maximum length of stream names when syncing. 2013-11-12 09:38:43 -05:00
confirmation Don't use hardcoded noreply@zulip.com, zulip@zulip.com, or https://zulip.com 2013-11-15 21:31:37 -05:00
corporate Move marketing pages to corporate app. 2013-11-06 12:07:32 -05:00
humbug Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
node_modules Import Handlebars compiler and dependencies 2013-04-02 14:43:58 -04:00
puppet Add a directory for enterprise admins to add static files. 2013-11-18 11:48:53 -05:00
scripts restart-server: Use 'all' instead of specifying the supervisor jobs to operate on explicitly 2013-11-15 15:23:02 -05:00
static Attempt 2: Notifications in the composebox 2013-11-18 16:09:34 -05:00
templates Attempt 2: Notifications in the composebox 2013-11-18 16:09:34 -05:00
tools Fix emoji on enterprise. 2013-11-14 11:18:23 -05:00
zerver logging: Fix request processing time to not count initialization. 2013-11-18 18:05:19 -05:00
zilencer Rename do_[rd]activate to do_[rd]activate_user. 2013-11-16 11:35:26 -05:00
zproject Add setting to enable profiling of all requests. 2013-11-18 18:05:19 -05:00
.gitattributes enterprise: Don't include templates/zilencer in our tarballs 2013-11-15 11:53:49 -05:00
.gitignore Update gitignore 2013-11-04 13:40:44 -05:00
LICENSE Add license not referring to Zulip Enterprise license agreement. 2013-11-14 11:16:15 -05:00
manage.py Rename Django project to zproject. 2013-08-07 11:04:03 -04:00
zulip_tools.py Move su_to_zulip into zulip_tools.py 2013-11-13 16:56:59 -05:00