f0b0e7fd9a
use dedicated archives queue As the used disk space will increase, we want a fined grain control move zip logic in dedicated method zip wip wip fix(spec): pass spec in green tech(improvements): avoid File.delete(folder), favor FileUtils.remove_entry_secure which is safer. Also wrap most of code that open file within blocks so it is cleaned when the block ends. Lastly use attachement.download to avoid big memory pressure [download in chunk, write in chunk] otherwise big file [124>1GO] are loaded in memory. what if we run multiple jobs/download in parallel ? fix(spec): try to retry with grace clean(procedure_archive_service_spec.rb): better retry [avoid to rewrite on open file] lint(things): everything |
||
---|---|---|
.. | ||
administrateur_usage_statistics_service.rb | ||
agent_connect_service.rb | ||
api_entreprise_service.rb | ||
bill_signature_service.rb | ||
browser_support.rb | ||
clamav_service.rb | ||
commentaire_service.rb | ||
countries_service.rb | ||
dossier_projection_service.rb | ||
dossier_search_service.rb | ||
encryption_service.rb | ||
expired_dossiers_deletion_service.rb | ||
france_connect_service.rb | ||
geojson_service.rb | ||
instructeurs_import_service.rb | ||
ip_service.rb | ||
notification_service.rb | ||
pieces_justificatives_service.rb | ||
pipedrive_service.rb | ||
procedure_archive_service.rb | ||
procedure_export_service.rb | ||
serializer_service.rb | ||
staging_auth_service.rb | ||
zxcvbn_service.rb |