noosfero | Html5VideoPlugin: Bug fixes and Improvements (!1360)

Rodrigo Souto gitlab at mg.gitlab.com
Mon Dec 18 12:19:13 BRST 2017


Rodrigo Souto started a new discussion on plugins/html5_video/script/video_processor_foreground.rb:

>    # Change the working dir to inside the app, so we can call `rails`
>    Dir.chdir(__dir__)
>  
> -  # Process pending files
> -  %w[ongoing waiting].each do |pool|
> -    files = Dir[File.join(POOL.path, pool, '*')]
> -    env_ids = files.map{|f| f.split('/').last }
> -    env_ids.each{|env_id| process_all_files(env_id, pool.to_sym) }
> +  Process.fork do

@gabrielssilva, why include the `Process.fork` again?

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1360#note_51834598
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20171218/c4c791bb/attachment.html>


More information about the Noosfero-dev mailing list