Skip to content

Commit

Permalink
ZO-1352: Add timer step for actual publisher call
Browse files Browse the repository at this point in the history
  • Loading branch information
wosc committed Feb 14, 2024
1 parent 7dfe0c6 commit 4df323a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/zeit/workflow/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ def _run(self, objs):
if to_publish:
publisher = zope.component.getUtility(zeit.cms.workflow.interfaces.IPublisher)
publisher.request(to_publish, self.mode)
timer.mark('Called publisher')
except zeit.workflow.publisher.PublisherError as e:
errors.extend(self._assign_publisher_errors_to_objects(e, published))
except Exception as e:
Expand Down

0 comments on commit 4df323a

Please sign in to comment.