mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 13:33:18 +00:00
19 lines
674 B
PHP
19 lines
674 B
PHP
|
<?php
|
||
|
|
||
|
return [
|
||
|
'rate-limits' => [
|
||
|
'v1Dot1' => [
|
||
|
'accounts' => [
|
||
|
'usernameToId' => [
|
||
|
'enabled' => env('PF_API_RL_V1DOT1_ACCT_U2ID_ENABLED', true),
|
||
|
'limit' => env('PF_API_RL_V1DOT1_ACCT_U2ID_LIMIT', 30),
|
||
|
'decay' => env('PF_API_RL_V1DOT1_ACCT_U2ID_DECAY', 120),
|
||
|
'ip_enabled' => env('PF_API_RL_V1DOT1_ACCT_U2ID_BY_IP_ENABLED', false),
|
||
|
'ip_limit' => env('PF_API_RL_V1DOT1_ACCT_U2ID_BY_IP_LIMIT', 30),
|
||
|
'ip_decay' => env('PF_API_RL_V1DOT1_ACCT_U2ID_BY_IP_DECAY', 120),
|
||
|
]
|
||
|
]
|
||
|
]
|
||
|
]
|
||
|
];
|