]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - server/tools/peertube-import-videos.ts
Apply import interval only when reasonable (#4552)
authormj-saunders <34356259+mj-saunders@users.noreply.github.com>
Mon, 22 Nov 2021 15:10:00 +0000 (19:10 +0400)
committerGitHub <noreply@github.com>
Mon, 22 Nov 2021 15:10:00 +0000 (16:10 +0100)
commite291096f78a4e86deb7c2a53b379f4c6f83c1ec6
treeed0fb9f39a2b73275fd0515cb9df5d9a0ed008c8
parent1622e095232eb0c619d8092ddd48bfb95218faab
Apply import interval only when reasonable (#4552)

* Apply import interval only when reasonable

When importing videos from another service, an interval can be applied
between each download.
It only really makes sense to apply this interval when the last
attempted download actually happened, and not when it was skipped.

* Fix boolean notation
server/tools/peertube-import-videos.ts