Skip to content

Commit

Permalink
Added async documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sgeulette committed Nov 9, 2018
1 parent fe8851c commit d5b3653
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
15 changes: 15 additions & 0 deletions async.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
plone.app.async is included in prod.cfg

collective.documentviewer uses it.
instance-async convert asynchronously files.
An async db has been added to store async information.
This avoids regular transactions (2 min) in main db.

Some views can be used to follow asynchronous batches.
* /manage-job-queue (from plone.app.async)
* /dvasync-monitor (from dv, more basic)

Problem with plone.app.async:
* a reindex of SearchableText is done. During this process, metadata are updated. getObjSize index method is called.
This uses getObjSize script that is not accessible because acquisition and/or request is not available in async.
Solution: own dms files index method to avoid plone script.
3 changes: 0 additions & 3 deletions zope_add_async.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,3 @@
</zeoclient>
mount-point /async
</zodb_db>

# dvasync-monitor
# manage-job-queue

0 comments on commit d5b3653

Please sign in to comment.