Skip to content

Commit

Permalink
Merge 7f52b8f into 88ec725
Browse files Browse the repository at this point in the history
  • Loading branch information
d00rman committed Dec 13, 2019
2 parents 88ec725 + 7f52b8f commit 4502b48
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sys/parsoid.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,8 @@ class ParsoidProxy {
// TEMP TEMP TEMP
// all html2html requests go to JS and are mirrored to PHP
if (operation === 'transformHtmlToHtml') {
if (Math.round(Math.random() * 100) <= 6.5) {
this._req('php', operation, hyper, req, false, true)
.catch((e) => hyper.logger.log('info/parsoidproxy/html2html', e));
}
this._req('php', operation, hyper, req, false, true)
.catch((e) => hyper.logger.log('info/parsoidproxy/html2html', e));
return this._req('js', operation, hyper, req, false, true);
}
// END TEMP
Expand Down

0 comments on commit 4502b48

Please sign in to comment.