Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / files / action / PhabricatorFilesOutboundRequestAction.php
blob7a1d3d2d56fb014468551a156b6d843f716db109
1 <?php
3 final class PhabricatorFilesOutboundRequestAction
4 extends PhabricatorSystemAction {
6 const TYPECONST = 'files.outbound';
8 public function getScoreThreshold() {
9 return 60 / phutil_units('1 hour in seconds');
12 public function getLimitExplanation() {
13 return pht(
14 'You have initiated too many outbound requests to fetch remote URIs '.
15 'recently.');