Skip to content
Snippets Groups Projects
Commit 8f289240 authored by Anton Sarukhanov's avatar Anton Sarukhanov
Browse files

Photos: try to make it faster; fix typo.

parent ecf1fc78
No related branches found
No related tags found
No related merge requests found
Pipeline #248 passed with stages
in 6 minutes and 46 seconds
...@@ -220,7 +220,7 @@ def copy_videos(generator, writer): ...@@ -220,7 +220,7 @@ def copy_videos(generator, writer):
if debug: if debug:
copy_worker(orig, copied, generator.settings) copy_worker(orig, copied, generator.settings)
else: else:
pool.apply_async(resize_worker, (orig, copied, generator.settings)) pool.apply_async(copy_worker, (orig, copied, generator.settings))
pool.close() pool.close()
pool.join() pool.join()
......
my_plugins/photos/images/video-icon.png

9.45 KiB

...@@ -18,7 +18,7 @@ PHOTO_GALLERY = (3840, 2160, 90) ...@@ -18,7 +18,7 @@ PHOTO_GALLERY = (3840, 2160, 90)
PHOTO_ARTICLE = (3840, 2160, 90) PHOTO_ARTICLE = (3840, 2160, 90)
PHOTO_THUMB = (384, 256, 90) PHOTO_THUMB = (384, 256, 90)
PHOTO_EXIF_KEEP = True PHOTO_EXIF_KEEP = True
PHOTO_RESIZE_JOBS = 8 PHOTO_RESIZE_JOBS = 18
MARKDOWN = {'extensions': ['toc(permalink=🔗)', 'codehilite(linenums=False)', 'extra']} MARKDOWN = {'extensions': ['toc(permalink=🔗)', 'codehilite(linenums=False)', 'extra']}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment