-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,3 @@ | |
</zeoclient> | ||
mount-point /async | ||
</zodb_db> | ||
|
||
# dvasync-monitor | ||
# manage-job-queue |