Commit Graph

22 Commits

Author SHA1 Message Date
Danny Coates 55df061567
refactored storage, style tweaks 2020-07-25 11:25:55 -07:00
Danny Coates 9891d1f0ba
Begin implementing a reporting mechanism 2020-07-24 08:32:43 -07:00
Danny Coates e6ff9e486b
Merge pull request #1063 from hbakhtiyor/patch-1
Convert ContentLength of storage to number
2020-07-09 19:34:33 -07:00
Danny Coates 17afd6ad58
Merge pull request #1416 from factorysh/s3_endpoint
Choose your endpoint.
2020-07-09 19:33:21 -07:00
minvs1 7aead375d8 Allow to set custom retry parameters 2020-04-21 23:30:39 +03:00
Mathieu Lecarme 97deb78de6 Use the config object. 2020-03-23 15:48:07 +01:00
Mathieu Lecarme 2d22573588 Choose your endpoint.
See https://github.com/mozilla/send/issues/1239
2020-03-23 15:48:07 +01:00
Danny Coates 6378676c2d
use resumable uploads to GCS 2019-08-07 10:10:42 -07:00
Hugo Abreu f517c514d8 Defined retry_strategy for redis. Closes #1292 2019-05-02 21:56:28 +01:00
Robert f94918bebd Prevent possible download counter race condition 2019-04-19 13:10:49 +02:00
Danny Coates 7f1ce41d9c
disable validation and resumable for gcs uploads 2019-01-09 13:36:27 -08:00
Abd ar-Rahman Hamidi 30d7ec50f3
Convert ContentLength of storage to number 2019-01-02 22:16:03 +05:00
Danny Coates 6cc12528b3
fixed some old TODOs 2018-12-18 13:55:46 -08:00
Danny Coates b6517c5442
port fix for #1005 to vnext 2018-11-16 13:33:40 -08:00
Danny Coates 6184a70ba4
fixes #1005
The upstream gcp aggressively closes the connection once it has
received Content-Length bytes. However the @google-cloud/storage
module doesn't handle this well and emits no event in this case.
We were setting Content-Length because it's slightly more
efficient and was important for our download progress
bar (not anymore). The download should function fine without
setting the Content-Length, and allows the storage stream to finish
before closing the upstream socket.
2018-11-14 16:38:46 -08:00
Danny Coates 53426b950a
added gcs 2018-11-02 14:24:10 -07:00
Danny Coates 9e8e604024
stubbed in gcs (untested) 2018-11-01 10:36:05 -07:00
Danny Coates e2259ae737
made download count and expiry options server configurable 2018-09-24 15:08:39 -07:00
Emily b89bef6e89 refactor to single bucket 2018-08-09 14:49:52 -07:00
Emily bf16e5c8a9 integrate with new ui 2018-08-08 11:07:09 -07:00
Danny Coates af7a262ef0
refactored upload away from multipart forms to binary data 2018-05-31 14:10:02 -07:00
Danny Coates 3fd2537311
refactored server 2018-02-09 15:03:05 -08:00