changeset 485:97010eefdfd9

psql: fix `max_items` type on node creation
author Goffi <goffi@goffi.org>
date Sun, 02 Oct 2022 15:33:36 +0200
parents 70eddf92bf51
children 39a6c0bc914b
files sat_pubsub/pgsql_storage.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat_pubsub/pgsql_storage.py	Fri Sep 23 18:06:12 2022 +0200
+++ b/sat_pubsub/pgsql_storage.py	Sun Oct 02 15:33:36 2022 +0200
@@ -304,7 +304,7 @@
                             config[const.OPT_ACCESS_MODEL],
                             config['pubsub#persist_items'],
                             config['pubsub#deliver_payloads'],
-                            config[const.OPT_MAX_ITEMS],
+                            int(config[const.OPT_MAX_ITEMS]),
                             config[const.OPT_OVERWRITE_POLICY],
                             config[const.OPT_SERIAL_IDS],
                             config[const.OPT_CONSISTENT_PUBLISHER],