Module: AlFolioCore::JekyllMinifierEintrRetry

Defined in:
lib/al_folio_core.rb

Instance Method Summary collapse

Instance Method Details

#output_file(dest, content) ⇒ Object



145
146
147
148
149
150
151
152
153
154
155
156
# File 'lib/al_folio_core.rb', line 145

def output_file(dest, content)
  attempts = 0

  begin
    super
  rescue Errno::EINTR
    attempts += 1
    retry if attempts < 4

    raise
  end
end