Skip to content

Commit

Permalink
allow longer demos
Browse files Browse the repository at this point in the history
  • Loading branch information
icewind1991 committed Mar 26, 2024
1 parent a496147 commit 02ac85e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Providers/UploadProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ public function validateHeader(int $size, Header $header): ?string {
return 'Demos cant be more than 200MB in size';
}

if ($header->getDuration() > (60 * 60)) {
return 'Demos cant be longer than one hour';
if ($header->getDuration() > (90 * 60)) {
return 'Demos cant be longer than one and a half hour';
}

return null;
Expand Down

0 comments on commit 02ac85e

Please sign in to comment.