Page MenuHomec4science

PhabricatorFilesOutboundRequestAction.php
No OneTemporary

File Metadata

Created
Wed, Nov 27, 00:42

PhabricatorFilesOutboundRequestAction.php

<?php
final class PhabricatorFilesOutboundRequestAction
extends PhabricatorSystemAction {
const TYPECONST = 'files.outbound';
public function getActionConstant() {
return self::TYPECONST;
}
public function getScoreThreshold() {
return 60 / phutil_units('1 hour in seconds');
}
public function getLimitExplanation() {
return pht(
'You have initiated too many outbound requests to fetch remote URIs '.
'recently.');
}
}

Event Timeline