Module: AlFolioCore::JekyllMinifierEintrRetry

Defined in:
lib/al_folio_core.rb

Instance Method Summary collapse

Instance Method Details

#output_file(dest, content) ⇒ Object



136
137
138
139
140
141
142
143
144
145
146
147
# File 'lib/al_folio_core.rb', line 136

def output_file(dest, content)
  attempts = 0

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

    raise
  end
end