##// END OF EJS Templates
Authentication: cache plugins for auth and their settings in the auth_registry....
Authentication: cache plugins for auth and their settings in the auth_registry. - Before that change on each requests 4x we loaded plugins for authentication, this hit many caches, db invalidation context and loaded the plugins logic each time. This was a heavy performance hit for SVN and other backends as they needed to load that plugins many many times - Since Authentication plugins almost never change, we'll not store the plugins listed for authentication into the authnregistry for each process - For AuthPlugins settings we now also flush plugins settings, and authnregistry cached plugins

File last commit:

r271:401985cc default
r4220:5a873939 stable
Show More
dev-settings.rst
46 lines | 959 B | text/x-rst | RstLexer

Settings for Development

We have a few settings which are intended to be used only for development purposes. This section contains an overview of them.

debug_style

Enables the section "Style" in the application. This section provides an overview of all components which are found in the frontend of the application.

vcs.start_server

Starts the server as a subprocess while the system comes up. Intended usage is to ease development.

[logging]

Use this to configure logging to your current needs. The documentation of Python's logging module explains all of the details. The following snippets are useful for day to day development work.

Mute SQL output

They come out of the package sqlalchemy.engine:

[logger_sqlalchemy]
level = WARNING
handlers = console_sql
qualname = sqlalchemy.engine
propagate = 0