vendor/bundle/ruby/2.1.0/gems/gitlab-flowdock-git-hook-0.4.2.2/lib/flowdock/git.rb
def background_post(data)
      pid = Process.fork
      if pid.nil?
        Grit::Git.with_timeout(600) do
          post(data) # Child
        end
      else
        Process.detach(pid) # Parent
      end
    end
# Create and post notification in background process. Avoid blocking the push notification.
Create and post notification in background process. Avoid blocking the push notification.
Create and post notification in background process . Avoid blocking the push notification .
def background_post(data)
      pid = Process.fork
      if pid.nil?
        Grit::Git.with_timeout(600) do
          post(data) 
        end
      else
        Process.detach(pid) 
      end
    end
def background_post ( data ) pid = Process . fork if pid . nil? Grit :: Git . with_timeout ( 600 ) do post ( data ) end else Process . detach ( pid ) end end
Create and post notification in background process.
Create and post notification in background process .
# Child # Parent
data