|
|
@@ -605,6 +605,10 @@ class PageService {
|
|
|
if (pageOp == null) {
|
|
|
throw Error('There is nothing to be processed right now');
|
|
|
}
|
|
|
+ const isProcessable = await PageOperation.isProcessable(pageOp);
|
|
|
+ if (!isProcessable) {
|
|
|
+ throw Error('This page operation is currently being processed');
|
|
|
+ }
|
|
|
|
|
|
const { page, toPath, options } = pageOp;
|
|
|
|