diff --git a/trytond/trytond/backend/postgresql/database.py b/trytond/trytond/backend/postgresql/database.py index 2dec0f9c10..49bc85ecdd 100644 --- a/trytond/trytond/backend/postgresql/database.py +++ b/trytond/trytond/backend/postgresql/database.py @@ -480,7 +480,7 @@ class Database(DatabaseInterface): cursor.execute('SELECT pg_notify(%s, %s)', (channel, payload)) def get_notifications(self, connection): - return list(connection.notifies(timeout=2)) + return list(connection.notifies(timeout=0)) def lock(self, connection, table): cursor = connection.cursor()