Configurable max video duration

This commit is contained in:
Michał Frąckiewicz
2022-03-21 19:22:34 +01:00
parent 3fc01de19c
commit 93635a20d9
2 changed files with 7 additions and 1 deletions

View File

@@ -171,6 +171,12 @@ module Danbooru
40000
end
# Maximum duration of an video in seconds.
def max_video_duration
# 2:20m
140
end
# How long pending posts stay in the modqueue before being deleted.
def moderation_period
3.days