comparison roundup/configuration.py @ 6332:6a6b4651be1f

Use server-side cursor for postgres in some cases In filter, filter_iter, and _materialize_multilinks, use named cursor with postgresql. This turns of client-side cursor handling and avoids *large* roundup process (or wsgi process) in case of large results. Fixes issue2551114.
author Ralf Schlatterbeck <rsc@runtux.com>
date Thu, 04 Mar 2021 12:55:21 +0100
parents 778a9f455067
children bd84f43e1d13
comparison
equal deleted inserted replaced
6331:c547e05d7a54 6332:6a6b4651be1f
1080 "error message."), 1080 "error message."),
1081 (IsolationOption, 'isolation_level', 'read committed', 1081 (IsolationOption, 'isolation_level', 'read committed',
1082 "Database isolation level, currently supported for\n" 1082 "Database isolation level, currently supported for\n"
1083 "PostgreSQL and mysql. See, e.g.,\n" 1083 "PostgreSQL and mysql. See, e.g.,\n"
1084 "http://www.postgresql.org/docs/9.1/static/transaction-iso.html"), 1084 "http://www.postgresql.org/docs/9.1/static/transaction-iso.html"),
1085 (BooleanOption, "serverside_cursor", "yes",
1086 "Set the database cursor for filter queries to serverside\n"
1087 "cursor, this avoids caching large amounts of data in the\n"
1088 "client. This option only applies for the postgresql backend."),
1085 ), "Settings in this section (except for backend) are used" 1089 ), "Settings in this section (except for backend) are used"
1086 " by RDBMS backends only." 1090 " by RDBMS backends only."
1087 ), 1091 ),
1088 ("logging", ( 1092 ("logging", (
1089 (FilePathOption, "config", "", 1093 (FilePathOption, "config", "",

Roundup Issue Tracker: http://roundup-tracker.org/