Explorar o código

Update pixelfed config, add media_fast_process setting

Daniel Supernault %!s(int64=4) %!d(string=hai) anos
pai
achega
6bee5072d0
Modificáronse 1 ficheiros con 15 adicións e 1 borrados
  1. 15 1
      config/pixelfed.php

+ 15 - 1
config/pixelfed.php

@@ -263,5 +263,19 @@ return [
 
 
     'bouncer' => [
     'bouncer' => [
         'enabled' => env('PF_BOUNCER_ENABLED', false),
         'enabled' => env('PF_BOUNCER_ENABLED', false),
-    ]
+    ],
+
+    /*
+    |--------------------------------------------------------------------------
+    | Media Fast Process
+    |--------------------------------------------------------------------------
+    |
+    | Don't require photos & video to finish optimization & 
+    | upload to S3 if enabled before posting. If disabled
+    | users will have to wait until processed before posting,
+    | sacrificing the user experience to ensure media is federated
+    | using S3 urls (if enabled). Default: off
+    |
+    */ 
+    'media_fast_process' => env('PF_MEDIA_FAST_PROCESS', true),
 ];
 ];