Browse Source

🚑 polling error on database concurrency error

For explanation see
d7b7b07f9e
pull/179/head
Ivan Yelizariev 6 years ago
parent
commit
0eb2406427
No known key found for this signature in database GPG Key ID: B87954F73B65AC8A
  1. 2
      mail_base/__manifest__.py
  2. 1
      mail_base/controllers/main.py
  3. 4
      mail_base/doc/changelog.rst
  4. 2
      mail_move_message/__manifest__.py
  5. 1
      mail_move_message/controllers/main.py
  6. 4
      mail_move_message/doc/changelog.rst

2
mail_base/__manifest__.py

@ -4,7 +4,7 @@
"summary": """Makes Mail extendable""",
"category": "Discuss",
"images": [],
"version": "1.0.4",
"version": "1.0.5",
"author": "IT-Projects LLC, Pavel Romanchenko",
"support": "apps@it-projects.info",

1
mail_base/controllers/main.py

@ -10,6 +10,7 @@ class MailChatController(BusController):
def _poll(self, dbname, channels, last, options):
if request.session.uid:
channels = list(channels) # do not alter original list
channels.append((request.db, 'mail_base.mail_sent'))
return super(MailChatController, self)._poll(dbname, channels, last, options)

4
mail_base/doc/changelog.rst

@ -1,3 +1,7 @@
`1.0.5`
-------
**FIX**: polling errors on heavy server load
`1.0.4`
-------
**FIX**: issue related to clear cache

2
mail_move_message/__manifest__.py

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
{
'name': 'Mail relocation',
'version': '1.0.5',
'version': '1.0.6',
'author': 'IT-Projects LLC, Ivan Yelizariev, Pavel Romanchenko',
'license': 'LGPL-3',
'category': 'Discuss',

1
mail_move_message/controllers/main.py

@ -13,6 +13,7 @@ class MailChatController(BusController):
def _poll(self, dbname, channels, last, options):
if request.session.uid:
channels = list(channels) # do not alter original list
channels.append((request.db, 'mail_move_message'))
channels.append((request.db, 'mail_move_message.delete_message'))
return super(MailChatController, self)._poll(dbname, channels, last, options)

4
mail_move_message/doc/changelog.rst

@ -1,3 +1,7 @@
`1.0.6`
-------
**FIX**: polling errors on heavy server load
`1.0.5`
-------

Loading…
Cancel
Save